Makefile 406 Bytes
Newer Older
1 2 3

TARGET = photo

4
VALAC_OPTS =
5 6 7 8 9 10

SRC_FILES = \
	main.vala \
	AppWindow.vala \
	CollectionPage.vala \
	Thumbnail.vala \
11 12
	PhotoTable.vala \
	ThumbnailCache.vala \
13 14
	image_util.vala \
	ThumbnailCacheTable.vala
15 16 17

PKGS = \
	gtk+-2.0 \
18 19
	sqlite3 \
	vala-1.0
20 21

all: $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
22 23

clean:
24
	rm -f $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
25

26 27
$(TARGET): $(SRC_FILES) Makefile
	valac $(VALAC_OPTS) $(foreach pkg,$(PKGS),--pkg $(pkg)) $(SRC_FILES) -o $(TARGET)
Jim Nelson's avatar
Jim Nelson committed
28