summaryrefslogtreecommitdiffstats
path: root/sysutils/open/files/patch-Makefile
blob: 1078281e9979e81ad84efb140db47bac10fc425b (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
--- Makefile.orig	Fri Jul 19 07:32:07 1996
+++ Makefile	Wed Feb 11 05:18:21 2004
@@ -1,6 +1,7 @@
 
-CC=gcc
-CFLAGS=-O2 -Wall -ansi
+CC?=gcc
+CFLAGS?=-O2 -Wall -ansi
+CFLAGS+=-Wall
 LDFLAGS=$(CFLAGS) -s 
 
 SRC1=open.c
@@ -20,10 +21,10 @@
 
 
 open: $(OBJ1) 
-	$(CC) $(LDLAGS) -o $@ $<
+	$(CC) $(LDLAGS) -o $@ $>
 
 switchto: $(OBJ2) 
-	$(CC) $(LDLAGS) -o $@ $<
+	$(CC) $(LDLAGS) -o $@ $>
 
 open.o: open.h
 
OpenPOWER on IntegriCloud