summaryrefslogtreecommitdiff
path: root/code/core/htable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/core/htable/Makefile')
-rw-r--r--code/core/htable/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/code/core/htable/Makefile b/code/core/htable/Makefile
new file mode 100644
index 0000000..af329b4
--- /dev/null
+++ b/code/core/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