summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/md5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/md5/Makefile')
-rw-r--r--mrbgems/md5/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/mrbgems/md5/Makefile b/mrbgems/md5/Makefile
new file mode 100644
index 000000000..0605d66a4
--- /dev/null
+++ b/mrbgems/md5/Makefile
@@ -0,0 +1,20 @@
+MRUBY_ROOT = ../..
+
+INCLUDES = -I$(MRUBY_ROOT)/include -I$(MRUBY_ROOT)/src -I.
+CFLAGS = $(INCLUDES) -O3 -g -Wall -Werror-implicit-function-declaration
+
+CC = gcc
+LL = gcc
+AR = ar
+
+all : md5.o mrb_md5.o
+ @echo done
+
+md5.o : md5.c md5.h
+ gcc -c -I. md5.c
+
+mrb_md5.o : mrb_md5.c mrb_md5.h
+ gcc -c $(CFLAGS) mrb_md5.c
+
+clean :
+ rm -f *.o