EBIND = emxbind
LDFLAGS =
-# Perl script for macro file conversion
-CVT=macpack/cvt-mac.pl
-
# -----------------------------------------------------------------------------
# List of all object files
istack.o \
lineinfo.o \
listing.o \
- macpack.o \
macro.o \
main.o \
nexttok.o \
# -----------------------------------------------------------------------------
# List of all macro files
-INCS = atari.inc \
- cbm.inc \
- cpu.inc \
- generic.inc \
- longbranch.inc
-
LIBS = $(COMMON)/common.a
# ------------------------------------------------------------------------------
@$(MAKE) -f make/gcc.mak all
endif
-$(EXE): $(INCS) $(OBJS) $(LIBS)
+$(EXE): $(OBJS) $(LIBS)
$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
@if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi
-inc: $(INCS)
-
clean:
$(RM) *~ core.* *.map
zap: clean
- $(RM) *.o $(EXE) $(INCS) .depend
+ $(RM) *.o $(EXE) .depend
# ------------------------------------------------------------------------------
# Make the dependencies
depend dep: $(INCS) $(OBJS:.o=.c)
@echo "Creating dependency information"
$(CC) $(CFLAGS) -MM $(OBJS:.o=.c) > .depend
-
-# -----------------------------------------------------------------------------
-# Rules to make config includes
-
-atari.inc: macpack/atari.mac
- @$(CVT) $< $@ MacAtari
-
-cbm.inc: macpack/cbm.mac
- @$(CVT) $< $@ MacCBM
-
-cpu.inc: macpack/cpu.mac
- @$(CVT) $< $@ MacCPU
-
-generic.inc: macpack/generic.mac
- @$(CVT) $< $@ MacGeneric
-
-longbranch.inc: macpack/longbranch.mac
- @$(CVT) $< $@ MacLongBranch
-
-
-
-
-
-
-
-
-
-