diff options
author | David Lamparter <equinox@diac24.net> | 2013-03-25 21:33:29 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2013-03-25 21:33:46 +0100 |
commit | a7e337c459b2b7284757127b64235579b061561c (patch) | |
tree | 4ae5cc432a944c2cfbbed76792ec185e732f0132 /cethcan/Makefile | |
parent | 2a44e256924a2cf19fe2548aaff88ad782b0d7b8 (diff) |
cethcan: skeleton
Diffstat (limited to 'cethcan/Makefile')
-rw-r--r-- | cethcan/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cethcan/Makefile b/cethcan/Makefile new file mode 100644 index 0000000..33b2069 --- /dev/null +++ b/cethcan/Makefile @@ -0,0 +1,14 @@ +love: cethcan +.PHONY: love + +PKGS="libevent jansson" + +cethcan: main.o can.o + gcc -g -o $@ `pkg-config --libs $(PKGS)` $^ + +clean: + rm -f *.o *.y.c *.y.h *.l.c cethcan + +%.o: %.c *.h + gcc -c -g -O0 -Wall -Wextra -Wshadow -pedantic -Wno-unused-parameter -Wno-format -std=gnu99 `pkg-config --cflags $(PKGS)` -o $@ $< + |