mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2024-12-26 17:29:30 +00:00
14 lines
236 B
Makefile
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 $@
|