In the current Lua.c32 DMI implementation, it is a flat table with dotted names in...
[hdt.git] / sample / Makefile
blob9e504d963c4f3b09c0960cfd6ca140c636c3c558
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ## Boston MA 02111-1307, USA; either version 2 of the License, or
9 ## (at your option) any later version; incorporated herein by reference.
11 ## -----------------------------------------------------------------------
14 ## samples for syslinux users
17 topdir = ..
18 MAKEDIR = $(topdir)/mk
19 include $(MAKEDIR)/embedded.mk
21 PPMTOLSS16 = $(topdir)/utils/ppmtolss16
23 all: syslogo.lss
25 %.lss: %.ppm.gz $(PPMTOLSS16)
26 $(GZIPPROG) -cd $< | \
27 $(PPMTOLSS16) \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
28 > $@
30 %.ppm.gz: %.png
31 $(PNGTOPNM) $< | gzip -9 > $@
33 tidy dist:
34 rm -f *.o *.a *.lst *.elf .*.d
36 clean: tidy
37 rm -f *.lss *.o *.c32 *.com
39 spotless: clean
41 -include .*.d