Lua: Fix type confusion between signed and unsigned
[lsnes.git] / src / fonts / Makefile
blob448375891eb2036d6b20d95f376e81651e563918
1 OBJECTS=font.$(OBJECT_SUFFIX) wrapper.$(OBJECT_SUFFIX)
3 .PRECIOUS: %.$(OBJECT_SUFFIX) %.files
5 __all__.files: $(OBJECTS)
6 lua ../genfilelist.lua $^ >$@
7 touch __all__.ldflags
9 .PRECIOUS: font.$(OBJECT_SUFFIX) font.cpp
11 %.$(OBJECT_SUFFIX): %.cpp %.cpp.dep
12 $(REALCC) $(CFLAGS) -c -o $@ $< -I../../include -Wall
14 font.cpp: $(FONT_SRC)
15 echo "extern const char* font_hex_data;" >font.cpp
16 echo "const char* font_hex_data = " >>font.cpp
17 sed -E -f fonttransform.sed <$^ >>font.cpp
18 echo ";" >>font.cpp
19 touch font.cpp.dep
21 font.cpp.dep:
22 touch font.cpp.dep
24 precheck:
25 ../../buildaux/mkdeps$(DOT_EXECUTABLE_SUFFIX) ../../include -- *.cpp
26 @true
28 forcelook:
29 @true
31 clean:
32 rm -f *.$(OBJECT_SUFFIX) font.cpp __all__.ldflags __all__.files