X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2FMakefile;h=19687e15e104c9a8b6de27a5481ab8154ba35cb8;hb=117854336280cdf3d07143820e4d82d92c570239;hp=02ed977349fd4424a7115946d418bd9e4f76110f;hpb=b98fbd4e9c71447d81fc9bd643fb174c76346e0f;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/Makefile b/Usermode/Applications/axwin2_src/WM/Makefile index 02ed9773..19687e15 100644 --- a/Usermode/Applications/axwin2_src/WM/Makefile +++ b/Usermode/Applications/axwin2_src/WM/Makefile @@ -2,12 +2,21 @@ -include ../../Makefile.cfg -CPPFLAGS += -I../include +CPPFLAGS += DIR := Apps/AxWin/1.0 -BIN := ../AxWinWM -OBJ := main.o helpers.o commandline.o video.o -OBJ += messages.o interface.o wm.o decorator.o +BIN := AxWinWM +OBJ := main.o helpers.o commandline.o video.o input.o video_text.o +OBJ += messages.o interface.o wm.o decorator.o render.o OBJ += image.o +LDFLAGS += -limage_sif -luri -lnet + -include ../../Makefile.tpl + +all: resources/LogoSmall.sif.res.h + +%.res.h: % Makefile + echo "#define RESOURCE_$(notdir $<) \\"| sed -e 's/\./_/g' > $@ + base64 $< | sed -e 's/.*/"&"\\/' >> $@ + echo "" >> $@