freebsd-ports/games/openjazz/files/patch-Makefile
Wen Heping 50f7ee79fa - Update to v.20100328
PR:		ports/145258
Submitted by:	Ganael Laplanche <ganael.laplanche@martymac.org> (maintainer)
2010-04-14 01:40:25 +00:00

15 lines
438 B
Text

--- Makefile.orig 2010-03-30 16:59:54.981199076 +0000
+++ Makefile 2010-03-30 17:04:10.070142573 +0000
@@ -21,10 +21,10 @@
OpenJazz: $(objects)
- cc -Wall -o OpenJazz -lSDL -lstdc++ $(objects)
+ ${CC} ${LDFLAGS} -Wall -o OpenJazz -lstdc++ $(objects)
%.o: %.cpp
- cc -Wall -DUSE_SOCKETS -DSCALE -Isrc -O2 -c $< -o $@
+ ${CC} ${CPPFLAGS} ${CFLAGS} -Wall -DUSE_SOCKETS -DSCALE -Isrc -c $< -o $@
clean:
rm -f OpenJazz $(objects)