1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/mail/ftrack/files/patch-MakeFiles-FreeBSD-Makefile
Pav Lucistnik c0a3f3b8e9 - Respect LOCALBASE
- Update master sites
- Portlint

PR:		ports/88905
Submitted by:	Forsite//HPG <forsite@tornado.chbs.ru> (maintainer)
2005-11-17 00:16:01 +00:00

67 lines
1.4 KiB
Plaintext

--- MakeFiles/FreeBSD/Makefile.orig Fri Aug 19 17:20:22 2005
+++ MakeFiles/FreeBSD/Makefile Fri Aug 19 17:20:23 2005
@@ -1,5 +1,5 @@
-CC= cc
+CC= g++
-CFLAGS= -Wall -W -fno-rtti `perl -MExtUtils::Embed -e ccopts`
+CFLAGS+=-Wall -W -fno-rtti `perl -MExtUtils::Embed -e ccopts`
CDEFS= -DUNIX
COPT= -Ihpp -I/usr/local/include -O -pipe
LFLAGS= -s
@@ -34,20 +33,50 @@
utils.o \
mask.o \
script.o \
- wildmat.o
+ wildmat.o \
+ ustr.o \
+ ficl.o \
+ words.o \
+ dict.o \
+ sysdep.o \
+ math64.o \
+ vm.o \
+ stack.o \
+ softcore.o
-%.o: %.c
+ficl.o: $(SRCDIR)ficl.c
$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
-%.o: $(SRCDIR)%.cpp
+words.o: $(SRCDIR)words.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+dict.o: $(SRCDIR)dict.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+sysdep.o: $(SRCDIR)sysdep.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+math64.o: $(SRCDIR)math64.c
$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
-$(SRCDIR)cfg.cpp: $(SRCDIR)cfg.y
- bison -l -d $< -o $(SRCDIR)cfg.tab
- mv $(SRCDIR)cfg.tab $(SRCDIR)cfg.cpp
+vm.o: $(SRCDIR)vm.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+stack.o: $(SRCDIR)stack.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+softcore.o: $(SRCDIR)softcore.c
+ $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+%.o: $(SRCDIR)%.cpp
+ $(CXX) $(CFLAGS) $(CDEFS) $(COPT) -c $<
+
+#$(SRCDIR)cfg.cpp: $(SRCDIR)cfg.y
+# bison -l -d $< -o $(SRCDIR)cfg.tab
+# mv $(SRCDIR)cfg.tab $(SRCDIR)cfg.cpp
# Thunderbirds are go!
ftrack: $(OBJS)