blob: 25b2419b01a9a3754abb32bbd8385698b09dc08b [file] [log] [blame]
Björn Stenbergefdfdc32002-03-28 14:42:55 +00001CFLAGS := -O3 -s -ansi
2
3TARGETS := scramble descramble sh2d \
4 scramble.static.bz2 descramble.static.bz2 sh2d.static.bz2
5
6all: $(TARGETS)
Björn Stenberge1715c22002-03-28 14:34:13 +00007
8scramble: scramble.c
9
10descramble: descramble.c
11
12sh2d: sh2d.c
Björn Stenbergefdfdc32002-03-28 14:42:55 +000013
14clean:
15 rm -f $(TARGETS) *~
16
17descramble.static.bz2: descramble.c
18 $(CC) -static $(CFLAGS) -o descramble.static $<
19 bzip2 -f descramble.static
20 chmod a+r descramble.static.bz2
21
22scramble.static.bz2: scramble.c
23 $(CC) -static $(CFLAGS) -o scramble.static $<
24 bzip2 -f scramble.static
25 chmod a+r scramble.static.bz2
26
27sh2d.static.bz2: sh2d.c
28 $(CC) -static $(CFLAGS) -o sh2d.static $<
29 bzip2 -f sh2d.static
30 chmod a+r sh2d.static.bz2