File: Makefile

package info (click to toggle)
mixer.app 1.8.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 204 kB
  • ctags: 68
  • sloc: cpp: 589; makefile: 58
file content (35 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Mixer.app Makefile
#

DESTDIR =
GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/Mixer.app
X11_BINDIR = /usr/X11R6/bin

CXX=c++
CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -I/usr/X11R6/include
LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11

OBJECTS = Main.o Mixer.o Xpm.o

all: Mixer.app

Mixer.app: $(OBJECTS)
	$(CXX) $(OBJECTS) -o $@ $(LDFLAGS)

.PHONY:	install clean distclean

install: install-gnustep

install-gnustep: all
	install -d  $(DESTDIR)$(GNUSTEP_BINDIR)
	install -m 0755 Mixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/Mixer

install-x11: all
	install -d  $(DESTDIR)$(X11_BINDIR)
	install -m 0755 Mixer.app $(DESTDIR)$(X11_BINDIR)/Mixer.app

clean:
	rm -f *~ *.o

# End of file