File: Makefile

package info (click to toggle)
wmwave 0.4-11.1
  • links: PTS
  • area: main
  • in suites: bookworm, sid
  • size: 240 kB
  • sloc: ansic: 1,183; makefile: 72
file content (35 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
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
#
# $Log: Makefile,v $
# Revision 1.2  1999/08/19 17:58:51  carsten
# Almost final version
#
# Revision 1.1  1999/08/15 15:38:09  carsten
# Added wmwave project to repository

LIBDIR = -L/usr/X11R6/lib
LIBS   = -lXpm -lXext -lX11 -lm -liw
CFLAGS = -O2 -Wall
OBJS =	 \
		wmgeneral.o \

default:all

.c.o:
	cc $(CFLAGS) -I/usr/X11R6/share/include -c $< -o $*.o

wmwave.o: wmwave.c wmwave-master.xpm
	cc $(CFLAGS) -I/usr/X11R6/share/include -c wmwave.c -o $*.o

wmwave: $(OBJS) wmwave.o
	cc $(CFLAGS) -o wmwave $(OBJS) $(LIBDIR) wmwave.o -lXext $(LIBS)

all:: wmwave

clean::
	rm -f *.o
	rm -f wmwave 
	rm -f *~

install:: wmwave
	install $(INSTALL_OPTS) -o root -g root -m 0755 wmwave $(DESTDIR)/usr/bin/
	install -o root -g root -m 0644 wmwave.1 $(DESTDIR)/usr/share/man/man1/