diff --git a/makefile b/makefile index 080b23e..f199a87 100644 --- a/makefile +++ b/makefile @@ -5,7 +5,8 @@ CFLAGS = -std=c99 `pkg-config --cflags gtk+-3.0` all: tek4010 tek4010: src/help.txt src/main.c src/main.h src/tube.c src/tube.h src/tek4010.c src/ards.c - sed 's/\"/\\\"/g; s/$$/\\n"/; s/^/"/; 1s/^/const char *helpStr =\n/; $$a;' src/help.txt > src/help.h + sed 's/\"/\\\"/g; s/$$/\\n"/; s/^/"/; 1s/^/const char *helpStr =\n/;' src/help.txt > src/help.h + echo ";" >> src/help.h $(CC) -o tek4010 src/main.c src/tube.c src/tek4010.c src/ards.c $(LIBS) $(CFLAGS) install: tek4010