HatariWii/tests/natfeats/Makefile.vbc
2018-05-25 20:45:09 +02:00

26 lines
393 B
Makefile

# A VBCC makefile for Native Features tester
NAME = nf_vbcc.tos
# for m68000
CC = vc -v
CFLAGS = -O1 -DTEST
LDFLAGS = -g # leave symbols to binaries
OBS = nf_vbcc.o nf_asmv.o
all: $(NAME)
$(NAME): $(OBS)
$(CC) $(LDFLAGS) $(OBS) -o $@
nf_vbcc.o: natfeats.c
$(CC) $(CFLAGS) -c $< -o $@
nf_asmv.o: nf_asmv.s
$(CC) $(CFLAGS) -c $< -o $@
veryclean:
$(RM) $(OBS) *~ *.bak
$(RM) $(NAME)