X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2FMakefile;h=d740d1c132b03ccf4968099813e06bd9f37dbee8;hb=889b379627388811c630aad3214efcaee1ac9885;hp=154d2cfadbd02d2a6fdd43039521f06dabf4b7a8;hpb=92517b68b7582251f69db7e062d5e5a4c773791f;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/Makefile b/Usermode/Applications/axwin2_src/WM/Makefile index 154d2cfa..d740d1c1 100644 --- a/Usermode/Applications/axwin2_src/WM/Makefile +++ b/Usermode/Applications/axwin2_src/WM/Makefile @@ -10,4 +10,13 @@ OBJ := main.o helpers.o commandline.o video.o video_text.o OBJ += messages.o interface.o wm.o decorator.o OBJ += image.o +LDFLAGS += -limage_sif -luri + -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 "" >> $@