summaryrefslogtreecommitdiff
path: root/cethcan/Makefile
diff options
context:
space:
mode:
authorroot <root@beaglebone.(none)>2000-01-01 00:41:04 +0000
committerroot <root@beaglebone.(none)>2000-01-01 00:41:04 +0000
commit6a8219d0c4c3d1458673bcf28af359bbcb519454 (patch)
treef00d323027f7885b5c6d5384152b2919cbc91992 /cethcan/Makefile
parenta645cf73e2825aef54e307ea326afac73fde65b0 (diff)
parentcd4484ab068678edfa9335a1c6d7c91b93793970 (diff)
Merge branch 'cethcan'
Diffstat (limited to 'cethcan/Makefile')
-rw-r--r--cethcan/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/cethcan/Makefile b/cethcan/Makefile
new file mode 100644
index 0000000..a61d256
--- /dev/null
+++ b/cethcan/Makefile
@@ -0,0 +1,14 @@
+love: cethcan
+.PHONY: love
+
+PKGS="libevent jansson"
+
+cethcan: main.o can.o ether.o light.o http.o socketcan.o
+ gcc -g -o $@ `pkg-config --libs $(PKGS)` -lcrypto $^
+
+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 $@ $<
+