Makefile 345 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

TARGET = photo

VALAC_OPTS = -g --enable-checking

SRC_FILES = \
	main.vala \
	AppWindow.vala \
	CollectionPage.vala \
	Thumbnail.vala \
	PhotoTable.vala

PKGS = \
	gtk+-2.0 \
	sqlite3

all: $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
18 19

clean:
20
	rm -f $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
21

22 23
$(TARGET): $(SRC_FILES) Makefile
	valac $(VALAC_OPTS) $(foreach pkg,$(PKGS),--pkg $(pkg)) $(SRC_FILES) -o $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
24