Another EXIT_SUCCESS nuked

This commit is contained in:
sin 2014-10-02 23:49:19 +01:00
parent 0c5b7b9155
commit a6793ced1b

View File

@ -170,7 +170,7 @@ sbase-box: $(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 @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 @echo 'else {' >> build/$@.c
@for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done @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 $@ @echo LD $@
@$(LD) -o $@ build/*.c util.a $(CFLAGS) $(LDFLAGS) @$(LD) -o $@ build/*.c util.a $(CFLAGS) $(LDFLAGS)
@rm -r build @rm -r build