Nuke last EXIT_SUCCESS

This commit is contained in:
sin 2014-10-02 23:50:19 +01:00
parent 6f7f387352
commit deb4fa8044

View File

@ -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