mirror of
https://github.com/Wiimpathy/HatariWii.git
synced 2024-11-22 09:49:15 +01:00
25 lines
368 B
Makefile
25 lines
368 B
Makefile
# A GCC makefile for Native Features tester
|
|
|
|
NAME = nf_gcc.tos
|
|
|
|
CC = gcc
|
|
CFLAGS = -Wall -O2 -m68000 -mshort -DTEST
|
|
LDFLAGS = -s
|
|
|
|
OBS = nf_gcc.o nf_asmg.o
|
|
|
|
all: $(NAME)
|
|
|
|
$(NAME): $(OBS)
|
|
$(CC) $(LDFLAGS) $(OBS) -o $@
|
|
|
|
nf_gcc.o: natfeats.c
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
nf_asmg.o: nf_asmg.s
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
veryclean:
|
|
$(RM) $(OBS) *~ *.bak
|
|
$(RM) $(NAME)
|