23 lines
652 B
Makefile
23 lines
652 B
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
bin_PROGRAMS = .buildno oswald-gui
|
|
|
|
oswald_gui_SOURCES = oswald-ui.c oswald_main.c \
|
|
oswald_watch_faces.c oswald_strings.c oswald_screens.c \
|
|
embedvm.c oswald_graphics.c calendar.c oswald_fonts.c
|
|
|
|
# BUILDNO = \"$(shell cat .buildno)\"
|
|
BUILDNO = \"$(shell date +%y%m%d)-\#$(shell cat .buildno)\"
|
|
|
|
oswald_gui_CFLAGS = -DBUILDNO=$(BUILDNO) -g $(GTK_CFLAGS)
|
|
|
|
oswald_gui_LDADD = $(GTK_LIBS)
|
|
|
|
EXTRA_DIST = config.rpath m4/ChangeLog \
|
|
AUTHORS \
|
|
COPYING \
|
|
README.txt
|
|
|
|
.buildno: $(oswald_gui_OBJECTS)
|
|
@if ! test -f .buildno; then echo 0 > .buildno; fi
|
|
@echo $$(($$(cat .buildno) + 1)) > .buildno
|