1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/tpasm/files/patch-Makefile
Alexey Dokuchaev 19c1fddd65 - Convert USE_GMAKE, drop currently no-op MAKE_JOBS_SAFE
- Utilize new options framework for DOCS and EXAMPLES
- Undo the damage done in r310483 (per ports/174183): restore the patch
  instead of hard-to-read in-place editing of Makefile; switch back to
  atomic, $cwd-agnostic INSTALL_* statements

Pointyhat to:	Kato's ports sweatshop lemmings
2013-08-06 15:44:38 +00:00

30 lines
799 B
Plaintext

--- Makefile.orig Thu Feb 13 19:58:06 2003
+++ Makefile Thu Feb 13 19:58:18 2003
@@ -17,8 +17,8 @@
# new gnu compilers have a really annoying default behavior of wrapping
# error message lines. The default should be NO-WRAPPING.
-OPTIONS=-O2 -Wall -x c++ -fmessage-length=0 -fno-exceptions
-CFLAGS=$(INCLUDES) $(OPTIONS)
+OPTIONS=-fmessage-length=0 -fno-exceptions
+CXXFLAGS+=$(INCLUDES) $(OPTIONS)
OBJECTS = \
globals.o \
@@ -44,7 +44,7 @@
all : tpasm
tpasm : $(OBJECTS)
- $(CC) -O $(OBJECTS) -lstdc++ -o tpasm
+ $(CXX) $(OBJECTS) -o $@
clean :
rm -f *.o
@@ -58,5 +58,5 @@
# suffix rules (this makes sure that the ".o" files
# end up in their respective directories on all systems)
.c.o:
- ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ -c $<
+ ${CXX} ${CXXFLAGS} ${CPPFLAGS} -o $@ -c $<