summaryrefslogtreecommitdiff
path: root/cad/chipmunk/files/patch-as
blob: 71d5d6cc4a03bf786e9736e9f5d8cc48330b3189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- util/spc-tools/ss/Makefile.orig	Wed Mar 12 02:47:27 1997
+++ util/spc-tools/ss/Makefile	Sat May 18 13:16:25 2002
@@ -18,7 +18,7 @@
 #
 # ss makefile
 
-BINDIR=	../../../bin
+BINDIR=	${PREFIX}/bin
 
 ##
 ##  (1) Choosing your compiler
@@ -46,7 +46,7 @@
 
 
 CHIPMUNKCC = gcc
-CC = $(CHIPMUNKCC)
+CC ?= $(CHIPMUNKCC)
 
 ##
 ## (2) Adding appropriate flags
@@ -90,14 +90,14 @@
 ##   -m68040              : for 68040 and 68060
 ##
 
-CFLAGS = 
+CFLAGS += -DBSD -DF_OK=0
 
 ss:     spice.o ss.o
 	$(CC) ss.o spice.o  -o ss
 
 install:    ss
-	cp ss $(BINDIR)  
-	cp test/ucbsim $(BINDIR)
+	${BSD_INSTALL_PROGRAM} ss $(BINDIR)  
+	${BSD_INSTALL_SCRIPT} test/ucbsim $(BINDIR)
 
 clean:
 	-rm -f *.o ss