mirror of
https://github.com/rricharz/Tek4010.git
synced 2026-02-27 01:09:54 +00:00
Merge pull request #46 from tvrusso/fix_sed
Make sed line FreeBSD compatible
This commit is contained in:
3
makefile
3
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
|
||||
|
||||
Reference in New Issue
Block a user