summaryrefslogtreecommitdiff
path: root/code/htable/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-05-03 21:10:08 +0200
committerUros Majstorovic <majstor@majstor.org>2017-05-03 21:10:08 +0200
commit25de5e761daab8b897a4f09ff8503e6f43c299f9 (patch)
treea9a1c185c7f89d67f9250e42b2aa53eefc9a6770 /code/htable/Makefile
initial commit
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