File: Makefile

package info (click to toggle)
wmix 3.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 176 kB
  • ctags: 164
  • sloc: ansic: 1,292; makefile: 54
file content (18 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC		= gcc
CFLAGS		= -O3 -W -Wall
LDFLAGS		= -L/usr/X11R6/lib
OBJECTS		= misc.o mixer-oss.o ui_x.o wmix.o

# where to install this program (also for packaging stuff)
DESTDIR		=
PREFIX		= $(DESTDIR)/usr/X11R6
INSTALL		= -m 755

wmix: $(OBJECTS)
	$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm

clean:
	rm -rf *.o wmix *~

install: wmix
	install $(INSTALL) wmix $(PREFIX)/bin