xref: /DragonOS/user/apps/about/Makefile (revision ac13e53a6007f4cf13a0317fd8a7b4dcb1d21d4b)
1all: about.o
2
3	ld -b elf64-x86-64 -z muldefs -o $(tmp_output_dir)/about  $(shell find . -name "*.o") $(shell find $(sys_libs_dir) -name "*.o") -T about.lds
4
5	objcopy -I elf64-x86-64 -R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/about $(output_dir)/about.elf
6about.o: about.c
7	$(CC) $(CFLAGS) -c about.c  -o about.o
8