dockapps/wmix/Makefile
2012-02-12 22:50:31 +00:00

19 lines
383 B
Makefile

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