blob: 334ea9f5e049177d3dde0feda6614db8bffae824 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
$NetBSD: patch-bb,v 1.1 2001/05/10 23:35:28 jtb Exp $
--- sd/tr/Makefile.orig Wed Dec 20 13:33:29 2000
+++ sd/tr/Makefile
@@ -17,32 +17,25 @@
TROBJECTS = $(FDOBJECTS)
tcmtr: $(TROBJECTS) tcmtr.o
- $(PURIFY) $(CC) $(CFLAGS) $(TROBJECTS) \
- -ldiagram -leditor -lguix $(LIB_DIR)/libglobal.a \
+ $(CXX) $(CXXFLAGS) $(TROBJECTS) \
+ -ltcmdiagram -ltcmeditor -ltcmguix -ltcmglobal \
tcmtr.o -o $@ $(LDFLAGS) $(LDLIBS)
- chmod a+rx $@
- $(STRIP) $@
- $(MV) $@ $(BIN_DIR)
+ $(MV) -f $@ $(BIN_DIR)
libtcmtr.a: $(TROBJECTS)
- $(AR) $@ $(TROBJECTS)
- chmod a+rx $@
+ $(AR) cr $@ $(TROBJECTS)
$(RANLIB) $@
- $(MV) $@ $(LIB_DIR)
+ $(MV) -f $@ $(LIB_DIR)
tgtt: $(GTOBJECTS) gteditor.o
- $(PURIFY) $(CC) $(CFLAGS) $(GTOBJECTS) gteditor.o -o $@ \
- $(LDFLAGS) -ldiagram -leditor -lgui -lglobal $(LDLIBS)
- chmod a+rx $@
- $(STRIP) $@
- $(MV) $@ $(BIN_DIR)
+ $(CXX) $(CXXFLAGS) $(GTOBJECTS) gteditor.o -o $@ \
+ $(LDFLAGS) -ltcmdiagram -ltcmeditor -ltcmgui -ltcmglobal $(LDLIBS)
+ $(MV) -f $@ $(BIN_DIR)
tfrt: $(FDOBJECTS) fdeditor.o
- $(PURIFY) $(CC) $(CFLAGS) $(FDOBJECTS) fdeditor.o -o $@ \
- $(LDFLAGS) -ldiagram -leditor -lgui -lglobal $(LDLIBS)
- chmod a+rx $@
- $(STRIP) $@
- $(MV) $@ $(BIN_DIR)
+ $(CXX) $(CXXFLAGS) $(FDOBJECTS) fdeditor.o -o $@ \
+ $(LDFLAGS) -ltcmdiagram -ltcmeditor -ltcmgui -ltcmglobal $(LDLIBS)
+ $(MV) -f $@ $(BIN_DIR)
clean: xclean
|