summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 48041013cd66e67ffc0b8466df1b233ce745fda9 (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
36
37
38
bin_PROGRAMS = simplertp

simplertp_LDADD = $(QT_LIBS) $(AO_LIBS) \
	$(shell ../tools/MocList o ) qrc_simplertp.o 

simplertp_CXXFLAGS = $(QT_CFLAGS) $(AO_CFLAGS)
AM_CXXFLAGS = $(QT_CFLAGS)

simplertp_SOURCES = \
	simplertp.cc

EXTRA_DIST = \
	simplertp.qrc

simplertp_MOC = $(shell ../tools/MocList cc )

BUILT_SOURCES = $(simplertp_MOC) qrc_simplertp.cc

CLEANFILES = $(BUILT_SOURCES)

qrc_%.cc: %.qrc
	rcc $< > $@

%.moc.cc: %.h
	$(QT_MOC) -o $@ $<

#
# ui files not used in this project...
#%.h: %.ui
#	$(QT_UIC) -o $@ $<
#
#%.cc: %.ui
#	$(QT_UIC) -o $@ -impl $*.h $<

# command for creating .res file from .rc on Win32
%.res: %.rc
	rc $<