blob: 97db1ea1273c257ff59a3eaa8e837bc0faf492a9 (
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
|
$NetBSD: patch-aa,v 1.2 2001/08/19 03:29:00 jlam Exp $
--- Makefile.bsd.orig Wed Dec 9 12:04:20 1998
+++ Makefile.bsd
@@ -16,9 +16,9 @@
# Use this if you want HW handshaking on the serial port
#CFLAGS=-g -Wall -O2 -DHW_HANDSHAKE
# Otherwise, leave it out
-CFLAGS=-g -Wall -O2 -D__NetBSD__
+CFLAGS+=-g -Wall -O2 -D__NetBSD__
-CC=gcc
+#CC=gcc
OBJS=lserial.o coff.o unix_key.o
ALLFILES = dl.c lserial.c serial.h \
Makefile coff21k.h coff.c
@@ -28,7 +28,7 @@
all: $(TARGETS)
dl: dl.o $(OBJS)
- gcc -o $@ $@.o $(OBJS)
+ $(CC) -o $@ $@.o $(OBJS)
checkin:
ci -u $(ALLFILES)
@@ -41,6 +41,6 @@
fi
clean:
- (rm *.o *~ *.core $(TARGETS))
+ rm -f *.o *~ *.core $(TARGETS)
#EOF
|