3 include $(PRJDIR)/Makefile.common
6 SRC = asdata.c asexpr.c aslex.c aslist.c asmain.c asout.c \
7 assubr.c assym.c z80adr.c z80ext.c z80mch.c z80pst.c
9 BINS = $(BUILDDIR)/as$(EXT)
11 CFLAGS += $(OPTS) -I. -DINDEXLIB -DMLH_MAP -DUNIX -DSDK
12 CFLAGS += -funsigned-char
19 Makefile.dep: $(SRC) *.h
20 $(CPP) $(CPPFLAGS) $(M_OR_MM) $(SRC) > Makefile.dep
25 $(CC) $(LDFLAGS) -o $(BINS) $(OBJS)
27 # Hmm. Should only rebuild if any of the source files are changed,
28 # but must do a clean build to make sure that there isnt a mix of
35 $(CC) -c $(CFLAGS) -o $@ $<