Permalink
Browse files

Add an include path of . for CC.

  • Loading branch information...
1 parent 4f237c5 commit 5eb6ca8126f112c9534a830246eebc77b9ba502f @atrodo committed Dec 14, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
@@ -4,8 +4,10 @@ COMPILED = main.o interp.o core.o loader.o pmc.o internal_pmc.o pmc_func.o
TEST_FILES = $(wildcard t/*.t)
COMPILED_TESTS = $(patsubst %.t,%.ito,$(TEST_FILES))
+INC_PATH=-I./
+
%.o: %.c $(HEADERS)
- $(CC) -g -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
+ $(CC) -g -c $(INC_PATH) $(CPPFLAGS) $(CFLAGS) -o $@ $<
lorito: $(COMPILED) $(HEADERS)
$(CC) -g $(CFLAGS) $(CC_WARN) -o $@ $(COMPILED)

0 comments on commit 5eb6ca8

Please sign in to comment.