blob: cfed53899c0aa025133c3fd8ccb9f8b5ae4a50f4 (
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
|
--- util/sctomat/Makefile.orig Wed Mar 12 02:47:26 1997
+++ util/sctomat/Makefile Sat May 18 13:14:35 2002
@@ -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)
+ ${BSD_INSTALL_PROGRAM} scope_to_mat $(BINDIR)
clean:
-rm -f *.o scope_to_mat
|