From 8bd3d51b23e328e91c209dbebe8cfe002b0b0042 Mon Sep 17 00:00:00 2001 From: laforge Date: Tue, 12 Sep 2006 17:37:00 +0000 Subject: move to new directory git-svn-id: https://svn.openpcd.org:2342/trunk@193 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- host/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 host/Makefile (limited to 'host/Makefile') diff --git a/host/Makefile b/host/Makefile new file mode 100644 index 0000000..12edce0 --- /dev/null +++ b/host/Makefile @@ -0,0 +1,24 @@ +#!/usr/bin/make +LDFLAGS=-lusb -lcrypt #-lzebvty -Lzebvty/ +CFLAGS=-Wall + +all: opcd_test opcd_sh + +clean: + -rm -f *.o opcd_test + $(MAKE) -C ausb clean + +ausb/libausb.a: + $(MAKE) -C ausb libausb.a + +opcd_test: opcd_test.o opcd_usb.o ausb/libausb.a + $(CC) $(LDFLAGS) -o $@ $^ + +opcd_sh: opcd_sh.o opcd_usb.o ausb/libausb.a zebvty/libzebvty.a + $(CC) $(LDFLAGS) -o $@ $^ + + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $< + +.PHONEY: all clean -- cgit v1.2.3