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/zebvty/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 host/zebvty/Makefile (limited to 'host/zebvty/Makefile') diff --git a/host/zebvty/Makefile b/host/zebvty/Makefile new file mode 100644 index 0000000..dcaf1a2 --- /dev/null +++ b/host/zebvty/Makefile @@ -0,0 +1,19 @@ +#include ../../makevars + +OBJS=vector.o command.o buffer.o vty.o +CFLAGS+=-fPIC +NAME=zebvty + +all: lib$(NAME).a lib$(NAME).so + +lib$(NAME).a: $(OBJS) + $(AR) r $@ $^ + +lib$(NAME).so: $(OBJS) + $(LD) -x --shared -o $@ $^ + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $^ + +clean: + @rm -f *.o lib$(NAME).a lib$(NAME).so -- cgit v1.2.3