File: Makefile

package info (click to toggle)
xmacro 0.3pre-20000911-7
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 280 kB
  • ctags: 134
  • sloc: cpp: 1,469; makefile: 69; sh: 10
file content (22 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
VERSION=0.3
CXXFLAGS ?= -O2

all: xmacroplay xmacrorec xmacrorec2

xmacroplay: xmacroplay.cpp chartbl.h
	$(CXX) $(CXXFLAGS) -I/usr/X11R6/include -Wall -pedantic -DHAVE_IOSTREAM=1 -DVERSION=$(VERSION) xmacroplay.cpp -o xmacroplay -L/usr/X11R6/lib -lXtst -lX11

xmacrorec: xmacrorec.cpp
	$(CXX) $(CXXFLAGS) -I/usr/X11R6/include -Wall -pedantic -DHAVE_IOSTREAM=1 -DVERSION=$(VERSION) xmacrorec.cpp -o xmacrorec -L/usr/X11R6/lib -lXtst -lX11

xmacrorec2: xmacrorec2.cpp
	$(CXX) $(CXXFLAGS) -I/usr/X11R6/include -Wall -pedantic -DHAVE_IOSTREAM=1 -DVERSION=$(VERSION) xmacrorec2.cpp -o xmacrorec2 -L/usr/X11R6/lib -lXtst -lX11

clean:
	rm -f xmacrorec xmacroplay xmacrorec2

deb:
	umask 022 && epm -f deb -nsm xmacro

rpm:
	umask 022 && epm -f rpm -nsm xmacro