#
# Makefile for Manx v5.2a
#

# - uses NO_STDERR for error messages to stdout instead of stderr
# - change version number in WORKING_LINKS_VERSION to correspond to
#   dos.library version that has properly working links
CFLAGS = -so -dAMIGA -dMANX -dNO_STDERR -dDEPENDENCYLIST \
         -dWORKING_LINKS_VERSION=37

# my precompiled header file
PRECOMP = -hi aztec:include/2_0symbol.dmp

OBJ = tarsplit.o

tarsplit: $(OBJ)
    ln -o tarsplit $(OBJ) -lc

.c.o:
    cc $(CFLAGS) $(PRECOMP) $*.c

tarsplit.o: config.h getfiles.h ndir.h protos.h version.h
    cc $(CFLAGS) $(PRECOMP) -o tarsplit.o tarsplit.c
