blob: 54414be51c77683dd532424217188d38bfda6961 [file] [log] [blame]
Björn Stenbergb9139252002-04-11 08:53:12 +00001# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
Björn Stenbergefdfdc32002-03-28 14:42:55 +00009CFLAGS := -O3 -s -ansi
10
11TARGETS := scramble descramble sh2d \
12 scramble.static.bz2 descramble.static.bz2 sh2d.static.bz2
13
14all: $(TARGETS)
Björn Stenberge1715c22002-03-28 14:34:13 +000015
16scramble: scramble.c
17
18descramble: descramble.c
19
20sh2d: sh2d.c
Björn Stenbergefdfdc32002-03-28 14:42:55 +000021
22clean:
23 rm -f $(TARGETS) *~
24
25descramble.static.bz2: descramble.c
26 $(CC) -static $(CFLAGS) -o descramble.static $<
27 bzip2 -f descramble.static
28 chmod a+r descramble.static.bz2
29
30scramble.static.bz2: scramble.c
31 $(CC) -static $(CFLAGS) -o scramble.static $<
32 bzip2 -f scramble.static
33 chmod a+r scramble.static.bz2
34
35sh2d.static.bz2: sh2d.c
36 $(CC) -static $(CFLAGS) -o sh2d.static $<
37 bzip2 -f sh2d.static
38 chmod a+r sh2d.static.bz2