Commit 85bc533f authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

Small modifications for location

parent a9419340
......@@ -3,18 +3,14 @@ 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
all : src/md5.o src/mrb_md5.o
@echo done
md5.o : md5.c md5.h
gcc -c -I. md5.c
md5.o : src/md5.c
gcc -c -I. src/md5.c
mrb_md5.o : mrb_md5.c mrb_md5.h
gcc -c $(CFLAGS) mrb_md5.c
mrb_md5.o : src/mrb_md5.c
gcc -c $(CFLAGS) src/mrb_md5.c
clean :
rm -f *.o
rm -f src/*.o
......@@ -14,7 +14,7 @@ MRB1 := $(BASEDIR)/*.rb
MRBS := $(MRB1)
LIBR0 := ../lib/libmruby_core.a
LIBR := ../lib/libmruby.a
GEM0 := ../mrbgems/md5/
GEM0 := ../mrbgems/md5/src/
# libraries, includes
INCLUDES = -I../src -I../include
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment