Merge branch 'master' of github.com:thepowersgang/acess2
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / Makefile
1 # Project: Acess2 GUI v3 Window Manager
2
3 -include ../../Makefile.cfg
4
5 CPPFLAGS += -I include/ -I ../include/
6 CFLAGS += -std=gnu99
7
8 DIR := Apps/AxWin/3.0
9 BIN := AxWinWM
10 OBJ := main.o input.o video.o ipc.o image.o utf-8.o
11 OBJ += wm.o wm_input.o wm_render.o wm_render_text.o wm_hotkeys.o
12 OBJ += decorator.o
13 OBJ += renderers/passthru.o
14 OBJ += renderers/background.o
15 OBJ += renderers/menu.o
16 # TODO: Move to a lower makefile
17 OBJ += renderers/widget.o
18 OBJ += renderers/widget/button.o
19 OBJ += renderers/widget/image.o
20 OBJ += renderers/widget/disptext.o
21 OBJ += renderers/widget/textinput.o
22 OBJ += renderers/widget/spacer.o
23
24 LDFLAGS += -limage_sif -luri -lnet
25
26 -include ../../Makefile.tpl
27
28 #all: resources/LogoSmall.sif.res.h
29
30 %.res.h: % Makefile
31         echo "#define RESOURCE_$(notdir $<) \\"| sed -e 's/\./_/g' > $@
32         base64 $< | sed -e 's/.*/"&"\\/' >> $@
33         echo "" >> $@

UCC git Repository :: git.ucc.asn.au