git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
axwin2 - Working on GUI, implemented image loading
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin2_src
/
WM
/
Makefile
diff --git
a/Usermode/Applications/axwin2_src/WM/Makefile
b/Usermode/Applications/axwin2_src/WM/Makefile
index
02ed977
..
d740d1c
100644
(file)
--- a/
Usermode/Applications/axwin2_src/WM/Makefile
+++ b/
Usermode/Applications/axwin2_src/WM/Makefile
@@
-5,9
+5,18
@@
CPPFLAGS += -I../include
DIR := Apps/AxWin/1.0
CPPFLAGS += -I../include
DIR := Apps/AxWin/1.0
-BIN :=
../
AxWinWM
-OBJ := main.o helpers.o commandline.o video.o
+BIN := AxWinWM
+OBJ := main.o helpers.o commandline.o video.o
video_text.o
OBJ += messages.o interface.o wm.o decorator.o
OBJ += image.o
OBJ += messages.o interface.o wm.o decorator.o
OBJ += image.o
+LDFLAGS += -limage_sif -luri
+
-include ../../Makefile.tpl
-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 "" >> $@
UCC
git Repository :: git.ucc.asn.au