|
|
1.1 root 1: #
2: # Makefile for md5sum
3: #
4: # created by Peter Simons <[email protected]>
5: #
6: # Amiga SAS/C 6.5x version by Rob Knop <[email protected]>
7:
8: #
9: # Labels:
10: # =======
11: #
12: CC = sc
13: LD = slink
14: PGPSRC = //src
15: OBJS = md5sum.o md5.o getopt.o
16:
17: # On a big-endian system (e.g. Motorola), uncomment the following line:
18: BYTEORDER= DEF=HIGHFIRST
19:
20:
21: # Compiler flags:
22: # ===============
23: #
24: # Define one of the following symbols to archive the described effect:
25: #
26: # Modify this to complile for 68000 or 68020 processors
27: #
28: #CPUFLAGS = CPU=ANY
29: CPUFLAGS = CPU=68020
30:
31: CFLAGS = $(BYTEORDER) OPT OPTTIME OPTINLOCAL OPTCOMP=5 OPTDEP=5 OPTRDEP=5 INCDIR=$(PGPSRC) $(CPUFLAGS) DEF=AMIGA
32:
33: # Linker flags:
34: # =============
35: #
36: LDFLAGS = LIB LIB:sc.lib LIB:amiga.lib
37:
38:
39: #
40: # Targets
41: #
42: md5sum: $(OBJS)
43: $(LD) lib:c.o $(OBJS) TO md5sum $(LDFLAGS)
44:
45:
46: md5sum.o: md5sum.c $(PGPSRC)/md5.h $(PGPSRC)/getopt.h
47: $(CC) NOLINK md5sum.c OBJNAME=md5sum.o $(CFLAGS)
48:
49:
50: md5.o: $(PGPSRC)/md5.c $(PGPSRC)/md5.h
51: $(CC) NOLINK $(PGPSRC)/md5.c OBJNAME=md5.o $(CFLAGS)
52:
53: getopt.o: $(PGPSRC)/getopt.c $(PGPSRC)/getopt.h
54: $(CC) NOLINK $(PGPSRC)/getopt.c OBJNAME=getopt.o $(CFLAGS)
55:
56: clean:
57: delete md5sum md5sum.o md5.o getopt.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.