blob: 59ce239624d2dcd7cce44f4ff78f4976be1c36c9 (
plain)
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
|
--- util/sctomat/Makefile.orig Wed Mar 12 02:47:26 1997
+++ util/sctomat/Makefile Tue Sep 21 03:37:35 1999
@@ -5,7 +5,7 @@
#
# sctomat makefile
-BINDIR= ../../bin
+BINDIR= %%PREFIX%%/bin
##
## (1) Choosing your compiler
@@ -32,7 +32,7 @@
##
CHIPMUNKCC = gcc
-CC = $(CHIPMUNKCC)
+CC ?= $(CHIPMUNKCC)
##
## (2) Adding appropriate flags
@@ -76,13 +76,13 @@
## -m68040 : for 68040 and 68060
##
-CFLAGS =
+CFLAGS += -DBSD -DF_OK=0
-scope_to_mat: savemat.o scope_to_mat.o
+all: savemat.o scope_to_mat.o
$(CC) savemat.o scope_to_mat.o -lm -o scope_to_mat
install: scope_to_mat
- cp scope_to_mat $(BINDIR)
+ install -c -s scope_to_mat $(BINDIR)
clean:
-rm -f *.o scope_to_mat
|