freebsd-ports/comms/xmorse/files/Makefile
John Marino 5d2bf00922 comms/xmorse: Fix build on F10+, support stage
PR:		ports/185398
Submitted by:	Stephan Hurd
Fixed by:	marino@
2014-01-25 09:28:51 +00:00

22 lines
416 B
Makefile

# $FreeBSD$
CXXFLAGS+= -MMD `fltk-config --cxxflags` `sdl-config --cflags`
PREFIX ?= /usr/local
INSTALL_PROGRAM ?= ${INSTALL} -o root -g wheel -m 755
all: xmorse
m.cxx: m.fl
fluid -c m.fl
xmorse: m.o Bargraph.o Codebox.o Cw.o Knob.o
${CXX} -o$@ $> `fltk-config --ldflags` `sdl-config --libs`
install: xmorse
${INSTALL_PROGRAM} xmorse ${PREFIX}/bin/xmorse
clean:
-rm *.o
-rm *.d
-rm m.cxx m.h
-rm xmorse