fix makefile

This commit is contained in:
Sami Samhuri 2011-04-18 22:35:02 -07:00
parent 0bb7a2ea22
commit 0715d4a705

View file

@ -5,7 +5,7 @@ LFLAGS := $(shell pkg-config --libs glib-2.0)
all: lake
lake: lake.o env.o int.o string.o sym.o parse.o bool.o list.o
$(CC) $(CFLAGS) $(LFLAGS) $? -o $@
$(CC) $(CFLAGS) $(LFLAGS) $^ -o $@
# use touch to prevent errors in case files do not exist
clean: