1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/tools/romfile_merge/Makefile
2024-07-22 01:58:46 -03:00

19 lines
375 B
Makefile
Executable File

MXML_DIR=mxml-2.4
INC_DIR=mxml-2.4
CC=gcc
LD=ld
AR=ar
all:
cp -rf ../../apps/public/mxml-2.4 .
make -C mxml-2.4 clean
make -C mxml-2.4
# gcc -c -o main.o main.c -I $(INC_DIR)
# gcc -static -o main main.o -lmxml -L mxml-2.4
#
gcc -c -o romfile_merge.o romfile_merge.c -I $(INC_DIR)
gcc -static -o romfile_merge romfile_merge.o -lmxml -L mxml-2.4
clean:
rm -f main *.o