wdc-utils/samples/Makefile

14 lines
236 B
Makefile
Raw Normal View History

2017-01-04 02:43:26 +00:00
AS = wdc816as
2017-01-16 19:02:34 +00:00
CC = wdc816cc
2017-01-04 02:43:26 +00:00
ASFLAGS = -L
2017-01-16 19:02:34 +00:00
CCFLAGS = -LT -ML -I../include
2017-01-04 02:43:26 +00:00
2017-01-08 17:59:01 +00:00
all: instructions.obj hello1.obj hello2.obj hello3.obj labels.obj ref_only.obj
2017-01-04 02:43:26 +00:00
2017-01-16 19:02:34 +00:00
%.obj : %.c
$(CC) $(CCFLAGS) $< -o $@
2017-01-04 02:43:26 +00:00
%.obj : %.asm
$(AS) $(ASFLAGS) $< -o $@