blob: 91b0b51346d6aa5bde84c117c6ec1f706875ea97 (
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
34
|
--- Makefile.orig Sat Jul 27 16:36:19 2002
+++ Makefile Thu Aug 8 02:14:43 2002
@@ -6,9 +6,8 @@
#
# Makefile for the ncurses frontend of the library
-CC = gcc
-CPP = g++
-CFLAGS = -g -I. -Wall
+CFLAGS += -I.
+CXXFLAGS += -I.
.SUFFIXES: .c .cpp .h
@@ -23,16 +22,16 @@
ar cru libtn.a $(OBJS)
demo/demo: libtn.a demo/demo.cpp demo/myscheme.h
- (cd demo && make)
+ (cd demo && ${MAKE})
dlgc/dlgc: libtn.a dlgc/dlgc.cpp
- (cd dlgc && make)
+ (cd dlgc && ${MAKE})
.c.o:
$(CC) $(CFLAGS) -c $<
.cpp.o:
- $(CPP) $(CFLAGS) -c $<
+ $(CXX) $(CXXFLAGS) -c $<
clean:
rm -f *~ *.o libtn.a core
|