mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
5d2bf00922
PR: ports/185398 Submitted by: Stephan Hurd Fixed by: marino@
23 lines
416 B
Makefile
23 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
|