1
0
Files
2022-09-29 17:59:04 +03:00

31 lines
508 B
Makefile

include /usr/include/make/commondefs
WOFF=
DEBUG = -g -DDEBUG
REGOPTS = -fullwarn -D_SGI_SOURCE
LCOPTS = $(REGOPTS)
LINTOPTS = $(DEBUG) -wlint -woff 813,852
LLDLIBS = -lmalloc
LLDOPTS =
TARGETS = mapwrite writehole
default: $(TARGETS)
include $(COMMONRULES)
install: $(TARGETS)
mapwrite: mapwrite.o
$(CCF) mapwrite.o $(LDFLAGS) -o $@
writehole: writehole.o
$(CCF) writehole.o $(LDFLAGS) -o $@
debug:
exec $(MAKE) LCOPTS='$(REGOPTS) $(DEBUG)'
lint:
exec $(MAKE) LCOPTS='$(REGOPTS) $(LINTOPTS)'