mirror of
https://github.com/Wiimpathy/HatariWii.git
synced 2024-11-22 09:49:15 +01:00
26 lines
393 B
Makefile
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)
|