# DASM -small systems cross assembler # (c)Copyright 1988 Matthew Dillon, All Rights Reserved. # # Modifications Copyright 1995 by Olaf Seibert. All Rights Reserved. #CC= gcc -g -ansi -Wall -Wstrict-prototypes -pedantic CC= dcc CFLAGS= OBJS= main.o ops.o globals.o exp.o symbols.o \ mne6303.o mne6502.o mne68705.o mne6811.o SRCS= main.c ops.c globals.c exp.c symbols.c \ mne6303.c mne6502.c mne68705.c mne6811.c all: dasm ftohex dasm: $(OBJS) $(CC) $(OBJS) -o dasm ftohex: ftohex.o $(CC) ftohex.o -o ftohex example: dasm example.asm -oram:example.out -lram:example.list -f2 ftohex 2 ram:example.out ram:example.hex obj: $(OBJS) $(OBJS): asm.h