summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e49d55fbd77e4648bc824794c42fd5bf01267423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
SUFFIXES=rc
# This rule lets GNU make create any moc_*.cpp from the equivalent *.h
moc_%.cc: %.h
	moc $< -o $@
	
# This rule lets GNU make compile *.rc windows resource files
.rc.o:
	windres $< -o $@

bin_PROGRAMS = sudoku

# Project C++ source files
sudoku_SOURCES = \
	cell.cc \
	main.cc \
	mainwindow.cc \
	settings.cc \
	solverwindow.cc \
	sudoku.cc \
	sudokuwidget.cc
	
EXTRA_sudoku_SOURCES = \
	icon.rc

sudoku_DEPENDENCIES = \
	$(EXEICON)

sudoku_LDADD =\
	$(EXEICON)
	
# moc generated C++ source files
nodist_sudoku_SOURCES = \
	moc_mainwindow.cc \
	moc_solverwindow.cc \
	moc_sudokuwidget.cc