]> git.karo-electronics.de Git - oswald.git/blob - ui/Makefile.am
Add version information and info screen, some more work on the accel screen
[oswald.git] / ui / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 bin_PROGRAMS = .buildno oswald-gui
4
5 oswald_gui_SOURCES = oswald-ui.c oswald_main.c \
6         oswald_watch_faces.c oswald_strings.c oswald_screens.c \
7         embedvm.c oswald_graphics.c calendar.c oswald_fonts.c
8
9 # BUILDNO = \"$(shell cat .buildno)\"
10 BUILDNO = \"$(shell date +%y%m%d)-\#$(shell cat .buildno)\"
11
12 oswald_gui_CFLAGS = -DBUILDNO=$(BUILDNO) -g $(GTK_CFLAGS)
13
14 oswald_gui_LDADD = $(GTK_LIBS)
15
16 EXTRA_DIST = config.rpath m4/ChangeLog  \
17         AUTHORS                 \
18         COPYING                 \
19         README.txt
20
21 .buildno: $(oswald_gui_OBJECTS)
22         @if ! test -f .buildno; then echo 0 > .buildno; fi
23         @echo $$(($$(cat .buildno) + 1)) > .buildno