aboutsummaryrefslogtreecommitdiff
path: root/comms/xmorse/files/Makefile
blob: c5eeec173bb0e36e821212bf8349c0cac026fb8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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