File: Makefile

package info (click to toggle)
xmem 1.20-25
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 100 kB
  • ctags: 109
  • sloc: ansic: 716; makefile: 62
file content (20 lines) | stat: -rw-r--r-- 526 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
xmem: xmem.o get_mem.o MemStripChart.o
	gcc $(CFLAGS) -o xmem xmem.o get_mem.o MemStripChart.o -L/usr/X11R6/lib -lX11 -lXt -lXaw -lproc 

xmem.o: xmem.c
	gcc $(CFLAGS) -c xmem.c

get_mem.o: get_mem.c
	gcc $(CFLAGS) -c get_mem.c

MemStripChart.o: MemStripChart.c
	gcc $(CFLAGS) -c MemStripChart.c

clean:
	-rm xmem *.o

install: xmem
	install -d -m 755 $(DESTDIR)/usr/bin/
	install -d -m 755 $(DESTDIR)/etc/X11/app-defaults/
	install -m 755 xmem $(DESTDIR)/usr/bin/
	install -m 644 XMem.ad $(DESTDIR)/etc/X11/app-defaults/XMem