Nuke last EXIT_SUCCESS
This commit is contained in:
parent
6f7f387352
commit
deb4fa8044
2
Makefile
2
Makefile
@ -209,7 +209,7 @@ ubase-box: config.h $(SRC) util.a
|
||||
@for f in $(SRC); do echo "else if(!strcmp(s, \"`basename $$f .c`\")) `basename $$f .c`_main(argc, argv);" >> build/$@.c; done
|
||||
@echo 'else {' >> build/$@.c
|
||||
@for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done
|
||||
@echo "putchar(0xa); }; return EXIT_SUCCESS; }" >> build/$@.c
|
||||
@echo "putchar(0xa); }; return 0; }" >> build/$@.c
|
||||
@echo LD $@
|
||||
@$(LD) -o $@ build/*.c util.a $(CFLAGS) $(LDFLAGS)
|
||||
@rm -r build
|
||||
|
Loading…
Reference in New Issue
Block a user