summaryrefslogtreecommitdiff
path: root/shared/makefile
blob: e5a6ff637003d07f79c41dc89ade038ce5d820d0 (plain)
1
2
3
4
5
6
7
8
9
SOURCES += $(wildcard ../shared/*.c)
HEADERS += $(wildcard ../shared/*.h)

# debug build info string
BUILD_STR=$(shell git update-index -q --refresh; git describe --tags --dirty='*' --broken='x' | cut -c1-20)
CFLAGS += -DW2_BUILD_STR=\"$(BUILD_STR)\"

clean::
	rm -f ../shared/*.o