Small modifications for location

This commit is contained in:
Daniel Bovensiepen
2012-09-15 15:40:20 +09:00
parent a941934045
commit 85bc533f90
2 changed files with 7 additions and 11 deletions
+6 -10
View File
@@ -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
+1 -1
View File
@@ -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