summaryrefslogtreecommitdiff
path: root/code/htable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/htable/Makefile')
-rw-r--r--code/htable/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/code/htable/Makefile b/code/htable/Makefile
new file mode 100644
index 0000000..af329b4
--- /dev/null
+++ b/code/htable/Makefile
@@ -0,0 +1,11 @@
+CFLAGS=-I.. -std=gnu89 $(PIC)
+obj = htable.o hashtable.o hashtable_itr.o
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+ $(AR) rcs libecpht.a $(obj)
+
+clean:
+ rm -f *.o *.a