50f7ee79fa
PR: ports/145258 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.org> (maintainer)
15 lines
438 B
Text
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)
|