|
|
1.1 root 1: #
2: # Copyright 1985, Massachusetts Institute of Technology.
3: # $Header: Makefile,v 10.4 86/02/01 16:18:36 tony Rel $
4: #
5:
6: DESTDIR =
7: CONFDIR = /usr/new
8: INCLUDES = -I../include
9:
10: CFLAGS = -O $(INCLUDES)
11: XLIB = ../Xlib/libX.a
12: OBJS = gedit.o gcmd.o garc.o gx.o
13:
14: all: xgedit
15:
16: xgedit: $(OBJS)
17: cc -o xgedit $(OBJS) -lg -lm $(XLIB)
18:
19: $(OBJS): gedit.h
20:
21: install: xgedit
22: install -c -s -m 755 xgedit ${DESTDIR}${CONFDIR}
23:
24: clean:
25: rm -f *.bak *.o *~ xgedit \#*
26:
27: lint:
28: lint -cah $(INCLUDES) *.c -lX
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.