diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-01-20 14:03:21 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-01-20 14:03:21 +1300 |
commit | b9fc5fed91512208d861e287b1369f3122861144 (patch) | |
tree | e11e3cc823b19feed7fb6c84d92990e9585e3d8b /Makefile | |
download | casio-9850-b9fc5fed91512208d861e287b1369f3122861144.tar.xz |
Initial import
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..058c0b7 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ + +CFLAGS = -Wall -Werror -Wextra + +.PHONY: all +all: casio-get screen-to-xpm + +screen-to-xpm: screen-to-xpm.o packet.o + $(CC) -o $@ $^ $(LDFLAGS) + +casio-get: casio-get.o error.o port.o packet.o + $(CC) -o $@ $^ $(LDFLAGS) -lserialport + + +%.o: %.c + $(CC) -c -o $@ $< $(CFLAGS) + + +.PHONY: clean +clean: + rm -fv casio-get screen-to-xpm *.o |