From b682ecb3b5bfdcebe2a443c3e838d875cf0a099b Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 3 Sep 2013 15:13:21 +0100 Subject: [PATCH] Fix ubase-box target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 259aca6..95956b2 100644 --- 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