|
|
1.1 root 1: #
2: # Copyright, 1985, Massachusetts Institute of Technology.
3: # xclock - makefile for the X window system clock.
4: #
5: # Written by: Tony Della Fera, DEC
6: # 11-Sep-84
7: #
8:
9: DESTDIR =
10: INCLUDES = -I../include
11:
12: CONFDIR = /usr/new
13: XLIB = ../Xlib/libX.a
14: CFLAGS = -O $(INCLUDES)
15: CLIBS = -lm
16:
17: .SUFFIXES: .o .h .c .a
18:
19: OBJS = xclock.o
20:
21: all: xclock
22:
23: debug: xclock_d
24:
25: install: all
26: install -s xclock $(DESTDIR)$(CONFDIR)
27: chmod 755 $(DESTDIR)$(CONFDIR)/xclock
28:
29: clean:
30: rm -f *~* *.bak core \#*
31: rm -f xclock.c.[0-9]* Makefile.[0-9]* xclock.1.[0-9]*
32: rm -f xclock.o xclock xclock_d
33:
34: igrind:
35: igrind xclock.c
36:
37: xclock: $(OBJS) $(XLIB)
38: $(CC) $(CFLAGS) -o xclock $(OBJS) $(XLIB) $(CLIBS)
39:
40: xclock_d: $(OBJS) $(XLIB)
41: $(CC) $(CFLAGS) -g -o xclock_d $(OBJS) $(XLIB) $(CLIBS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.