mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
ac9460fcbf
Approved by: portmgr
39 lines
837 B
Plaintext
39 lines
837 B
Plaintext
--- Makefile.orig Sat Apr 20 23:45:19 2002
|
|
+++ Makefile Tue Sep 24 22:36:44 2002
|
|
@@ -1,4 +1,3 @@
|
|
-CC = gcc
|
|
TARGET = malsync
|
|
|
|
PLAT := $(shell uname)
|
|
@@ -16,9 +15,9 @@
|
|
endif
|
|
|
|
TREETOP = .
|
|
-PILOT_LINK_DIR = $(TREETOP)/pilot-link-0.10.99
|
|
+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
|
|
|
|
@@ -72,14 +71,14 @@
|
|
DYNLINK = -rdynamic
|
|
endif
|
|
|
|
+all: $(TARGET)
|
|
+
|
|
$(TARGET): $(OBJS)
|
|
- $(CC) $(DYNLINK) $(CFLAGS) -o $@ $(OBJS) \
|
|
- -L${PILOT_LINK_DIR}/libpisock/.libs -lpisock $(LINKLIBS)
|
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) \
|
|
+ -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS)
|
|
clean:
|
|
rm -f $(OBJS) $(TARGET)
|
|
|
|
-.c.o:
|
|
- gcc $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|