1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-24 05:41:49 +00:00
Files
amiga-tz/Makefile
Arthur David Olson 2f760b9f13 chmod change
SCCS-file: Makefile
SCCS-SID: 1.8
2012-07-18 03:01:34 -04:00

50 lines
955 B
Makefile

# %W%
# Use an absolute path name for TZDIR unless you're just testing the software.
TZDIR= /usr/local/lib/tzdir
DEBUG=
LINTFLAGS= -phbaaxc
LFLAGS=
CFLAGS= $(DEBUG) -O -DOBJECTID -DTZDIR=\"$(TZDIR)\"
TZCSRCS= tzcomp.c scheck.c strchr.c
TZCOBJS= tzcomp.o scheck.o strchr.o
ENCHILADA= Makefile timezone.h settz.c tzdump.c $(TZCSRCS) tzinfo years.sh
all: data tzdump
data: $(TZDIR) tzcomp tzinfo years
tzcomp -d $(TZDIR) tzinfo
tzdump: tzdump.o settz.o
$(CC) $(LFLAGS) tzdump.o settz.o $(LIBS) -o $@
tzcomp: $(TZCOBJS)
$(CC) $(LFLAGS) $(TZCOBJS) $(LIBS) -o $@
$(TZDIR):
mkdir $@
years: years.sh
cp $? $@
chmod +x $@
bundle: $(ENCHILADA)
bundle $(ENCHILADA) > bundle
$(ENCHILADA):
sccs get $(REL) $(REV) $@
sure: tzdump.c $(TZCSRCS)
lint $(LINTFLAGS) tzdump.c settz.c
lint $(LINTFLAGS) $(TZCSRCS)
clean:
rm -f core *.o *.out years tzdump tzcomp bundle \#*
CLEAN: clean
sccs clean
tzdump.o tzcomp.o settz.o: timezone.h