Another EXIT_SUCCESS nuked
This commit is contained in:
parent
0c5b7b9155
commit
a6793ced1b
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user