1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-02-26 00:43:34 +00:00
Files
rricharz.Tek4010/makefile
Rene Richarz 0d73b374a1 ERevert "Merge pull request #42 from polluks/patch-2"
This reverts commit 7f8e6ace74, reversing
changes made to eb2a37dc6b.
2024-05-28 16:55:48 +02:00

16 lines
438 B
Makefile

LIBS = `pkg-config --libs gtk+-3.0`
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
$(CC) -o tek4010 src/main.c src/tube.c src/tek4010.c src/ards.c $(LIBS) $(CFLAGS)
install: tek4010
./install
clean: tek4010
-rm -f tek4010