blob: 2a7e90b72c05cc2a090e52609f5fc5489c17dae6 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
--- estic/make/freebsd.mak.orig 1997-01-31 03:57:24.000000000 +0100
+++ estic/make/freebsd.mak 2014-03-28 17:03:18.000000000 +0100
@@ -27,11 +27,11 @@
AR = ar
LD = ld
ZIP = zip
-CC = g++
+CC?= g++
LIB = ../spunk/spunk.a
INCDIR = ../spunk
-CFLAGS = -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
+CFLAGS += -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
# ------------------------------------------------------------------------------
@@ -70,10 +70,10 @@
icintcon.o \
iclog.o \
icmsgwin.o \
- icprefix.o \
icshort.o \
icver.o \
- istecmsg.o
+ istecmsg.o \
+ ../areacode/areacode.o
# ------------------------------------------------------------------------------
#
@@ -81,14 +81,14 @@
all: estic
estic: $(LIB) $(OBJS)
- $(CC) -o estic $(OBJS) $(LIB) -ltermcap -lg++
+ $(CC) -o estic $(OBJS) $(LIB) -ltermcap
# ------------------------------------------------------------------------------
# Create a dependency file
depend dep:
@echo "Creating dependency information"
- $(CC) -I$(INCDIR) -DFREEBSD -MM *.cc > .depend
+ $(CC) $(CFLAGS) -MM *.cc > .depend
# ------------------------------------------------------------------------------
# Create a ZIP file
@@ -112,9 +112,10 @@
clean:
-rm -f *.bak *~
+ -rm -f *.o
+ -rm -f estic
zap: clean
- -rm -f *.o
-rm -f .depend
|