summaryrefslogtreecommitdiffstats
path: root/cad/findhier/files/patch-Makefile
blob: eb1d14e0902a9c6b2c9a16c3b8cac0e5a6998dfe (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
--- Makefile.orig	Mon Oct 16 00:58:34 1995
+++ Makefile	Sun Apr 29 00:58:54 2007
@@ -9,7 +9,7 @@
 
 #CFLAG = -pg
 #CFLAG = -g
-CFLAG = -O4
+CFLAG = -O ${CFLAGS}
 LFLAG =
 
 # Sparc with SunOS4.x
@@ -51,13 +51,13 @@
 OBJS = ${SRCS:c=o}
 HEADERS = str.h findhier.h fstruct.h
 
-.c.o: Makefile findhier.h fhstruct.h
+.c.o: Makefile findhier.h fstruct.h
 	${CC} -c ${CFLAG} $<
 
+all: fh
+
 fh: ${OBJS}
 	${CC} -o $@ ${CFLAG} ${OBJS} ${LFLAG}
-	#strip fh
-	#mv fh ${HOME}/bin
 
 lint:
 	${LINT} ${SRCS} | more
OpenPOWER on IntegriCloud