wdc-utils/samples/Makefile
2017-01-16 14:02:34 -05:00

14 lines
236 B
Makefile

AS = wdc816as
CC = wdc816cc
ASFLAGS = -L
CCFLAGS = -LT -ML -I../include
all: instructions.obj hello1.obj hello2.obj hello3.obj labels.obj ref_only.obj
%.obj : %.c
$(CC) $(CCFLAGS) $< -o $@
%.obj : %.asm
$(AS) $(ASFLAGS) $< -o $@