ack/util/led/Makefile

100 lines
1.9 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.
EM = ../..
LIBDIR= $(EM)/lib
PREFLAGS= -I$(EM)/h -DNDEBUG -DNASSERT
CFLAGS = $(PREFLAGS) -O
1986-12-02 11:25:51 +00:00
LDFLAGS = -i
LDLIBS = $(EM)/modules/lib/libstring.a $(EM)/modules/lib/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
cp led $(LIBDIR)/em_led
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