File: Makefile

package info (click to toggle)
wmbio 1.02-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 148 kB
  • ctags: 88
  • sloc: ansic: 920; makefile: 61
file content (20 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LIBDIR = -L/usr/X11R6/lib
LIBS   = -lXpm -lXext -lX11
OBJS =  wmbio.o wmgeneral.o

.c.o:
	cc -c -g -O2 -Wall $< -o $*.o

all: wmbio

wmbio: $(OBJS)
	cc -o wmbio $^ $(LIBDIR) $(LIBS) 

clean:
	for i in $(OBJS) ; do \
		rm -rf $$i;\
	done
	rm -rf wmbio core *~

install:
	/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbio $(DESTDIR)/usr/bin/wmbio