Makefile 514 Bytes
Newer Older
1 2 3

TARGET = photo

4 5
# This takes care of a warning message generated by the use of Math.round in image_util.vala
VALAC_OPTS =--Xcc=-std=c99
6 7 8 9 10 11

SRC_FILES = \
	main.vala \
	AppWindow.vala \
	CollectionPage.vala \
	Thumbnail.vala \
12
	DatabaseTables.vala \
13
	ThumbnailCache.vala \
14 15
	image_util.vala \
	CollectionLayout.vala
16 17 18

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

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

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

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