commit b682ecb3b5bfdcebe2a443c3e838d875cf0a099b
parent 348f771fec33fa97026b4ed8d19d0d702373e7d8
Author: sin <sin@2f30.org>
Date: Tue, 3 Sep 2013 15:13:21 +0100
Fix ubase-box target
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -113,7 +113,7 @@ ubase-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
@echo 'else {' >> build/$@.c
@for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$@.c; done
- @echo "putchar('\\n'); }; return EXIT_SUCCESS; }" >> build/$@.c
+ @echo "putchar(0xa); }; return EXIT_SUCCESS; }" >> build/$@.c
@echo LD $@
@$(LD) -o $@ build/*.c util.a $(CFLAGS) $(LDFLAGS)
@rm -r build