Being more conservative with dependency generation
git-svn-id: http://picoc.googlecode.com/svn/trunk@132 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
694d2b9d2d
commit
6be246b846
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ TARGET = picoc
|
||||||
SRCS = picoc.c table.c lex.c parse.c heap.c type.c variable.c clibrary.c platform_library.c platform_support.c
|
SRCS = picoc.c table.c lex.c parse.c heap.c type.c variable.c clibrary.c platform_library.c platform_support.c
|
||||||
OBJS := $(SRCS:%.c=%.o)
|
OBJS := $(SRCS:%.c=%.o)
|
||||||
|
|
||||||
all: $(TARGET)
|
all: depend $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||||
|
|
Loading…
Reference in a new issue