blob: deb863d36c0e33789ea84b75b86d8eddf27b4ae5 (
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
|
--- Makefile Sat May 31 01:42:14 2003
+++ /home/stell/Makefile Mon Dec 19 16:14:45 2005
@@ -15,9 +15,9 @@
endif
TREETOP = .
-PILOT_LINK_DIR = $(TREETOP)/pilot-link-0.11.7
+PILOT_LINK_DIR = $(PREFIX)
-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
+CFLAGS += -DMALSYNC -I$(TREETOP)/mal/common \
-I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include \
-I$(TREETOP)/mal/client/unix
@@ -71,13 +71,10 @@
DYNLINK = -rdynamic
endif
+all: $(TARGET)
$(TARGET): $(OBJS)
- $(CC) $(DYNLINK) $(CFLAGS) -o $@ $(OBJS) \
- ${PILOT_LINK_DIR}/libpisock/.libs/libpisock.a $(LINKLIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) \
+ -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS)
+
clean:
rm -f $(OBJS) $(TARGET)
-
-
-
-
-
|