ack/util/led/Makefile

104 lines
2.1 KiB
Makefile
Raw Normal View History

1985-04-12 14:01:20 +00:00
#
# Author: L.J. Bekema @ VU Informatica, Amsterdam
#
# Definitions for the making programs.
1987-08-06 18:40:02 +00:00
EMHOME = ../..
LIBDIR= $(EMHOME)/lib
1987-10-15 12:42:55 +00:00
MODLIBDIR = $(EMHOME)/modules/lib
1987-08-06 18:40:02 +00:00
PREFLAGS= -I$(EMHOME)/h -DNDEBUG -DNASSERT
CFLAGS = $(PREFLAGS) -O
1991-02-19 16:51:50 +00:00
LDFLAGS =
1987-10-15 12:42:55 +00:00
LDLIBS = $(MODLIBDIR)/libstring.a $(MODLIBDIR)/libobject.a
LINTFLAGS=-phbxa $(PREFLAGS)
1985-04-12 14:01:20 +00:00
PR = pr
PRFLAGS =
# Some convenient macro definitions.
CFILES = archive.c error.c extract.c finish.c main.c memory.c\
1985-04-12 14:01:20 +00:00
output.c read.c relocate.c save.c scan.c sym.c write.c
HFILES = assert.h const.h debug.h defs.h memory.h orig.h scan.h
OFILES = archive.o error.o extract.o finish.o main.o memory.o\
1985-04-12 14:01:20 +00:00
output.o read.o relocate.o save.o scan.o sym.o write.o
# Things that can be made.
led: $(OFILES)
$(CC) $(LDFLAGS) $(OFILES) $(LDLIBS) -o led
install:led
1987-08-06 18:40:02 +00:00
rm -f $(LIBDIR)/em_led $(EMHOME)/man/led.6 $(EMHOME)/man/ack.out.5
cp led $(LIBDIR)/em_led
1987-08-06 18:40:02 +00:00
cp led.6 $(EMHOME)/man/led.6
cp ack.out.5 $(EMHOME)/man/ack.out.5
cmp: led
cmp led $(LIBDIR)/em_led
1985-04-12 14:01:20 +00:00
lint:
lint $(LINTFLAGS) $(CFILES)
pr: $(CFILES) $(HFILES) mach.c
$(PR) $(PRFLAGS) $?
1985-04-12 14:01:20 +00:00
@touch pr
opr:
make pr | opr
clean:
rm -f Out *.o led nohup.out
1985-04-12 14:01:20 +00:00
depend:
makedepend $(CFILES)
# The next lines are generated automatically.
# AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
archive.o: const.h
archive.o: debug.h
archive.o: defs.h
archive.o: memory.h
error.o: const.h
extract.o: const.h
extract.o: debug.h
extract.o: defs.h
extract.o: memory.h
extract.o: orig.h
extract.o: scan.h
finish.o: const.h
finish.o: defs.h
finish.o: memory.h
finish.o: orig.h
finish.o: scan.h
main.o: const.h
main.o: debug.h
main.o: defs.h
main.o: memory.h
main.o: orig.h
memory.o: assert.h
memory.o: const.h
memory.o: debug.h
memory.o: mach.c
memory.o: memory.h
output.o: const.h
output.o: memory.h
read.o: assert.h
read.o: const.h
relocate.o: const.h
relocate.o: debug.h
relocate.o: defs.h
relocate.o: orig.h
save.o: assert.h
save.o: const.h
save.o: memory.h
scan.o: assert.h
scan.o: const.h
scan.o: memory.h
scan.o: scan.h
sym.o: const.h
sym.o: memory.h
write.o: assert.h
write.o: const.h
write.o: memory.h
write.o: orig.h