forked from len0rd/rockbox
Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f883986dd1
commit
554b95aad3
8 changed files with 844 additions and 0 deletions
44
www/Makefile
Normal file
44
www/Makefile
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
ACTION=@echo preprocessing $@; rm -f $@; fcpp -WWW -Uunix -H -C -V -LL >$@
|
||||
|
||||
SRC := $(wildcard *.t)
|
||||
OBJS := $(SRC:%.t=%.html)
|
||||
|
||||
.SUFFIXES: .t .html
|
||||
|
||||
%.html : %.t
|
||||
$(ACTION) $<
|
||||
|
||||
all: $(OBJS) descramble descramble.static.bz2 sh2d sh2d.static.bz2 \
|
||||
scramble scramble.static.bz2
|
||||
@(cd schematics; $(MAKE))
|
||||
@(cd docs; $(MAKE))
|
||||
@(cd mods; $(MAKE))
|
||||
|
||||
main.html: main.t activity.html
|
||||
|
||||
descramble: descramble.c
|
||||
cc -Wall -ansi -O2 -s -o $@ $<
|
||||
chmod a+r descramble
|
||||
|
||||
descramble.static.bz2: descramble.c
|
||||
cc -static -O2 -s -o descramble.static $<
|
||||
bzip2 -f descramble.static
|
||||
chmod a+r descramble.static.bz2
|
||||
|
||||
scramble: scramble.c
|
||||
cc -Wall -ansi -O2 -s -o $@ $<
|
||||
chmod a+r scramble
|
||||
|
||||
scramble.static.bz2: scramble.c
|
||||
cc -static -O2 -s -o scramble.static $<
|
||||
bzip2 -f scramble.static
|
||||
chmod a+r scramble.static.bz2
|
||||
|
||||
sh2d: sh2d.c
|
||||
cc -O2 -s -o $@ $<
|
||||
chmod a+r sh2d
|
||||
|
||||
sh2d.static.bz2: sh2d.c
|
||||
cc -static -O2 -s -o sh2d.static $<
|
||||
bzip2 -f sh2d.static
|
||||
chmod a+r sh2d.static.bz2
|
||||
Loading…
Add table
Add a link
Reference in a new issue