update test makefile

This commit is contained in:
Kelvin Sherlock 2015-01-20 13:58:24 -05:00
parent b1e6635630
commit 45fa54abca
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@ MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
.SECONDARY:
MPW ?= mpw
LIBS = \
{Libraries}Stubs.o \
{CLibraries}StdCLib.o \
@ -43,8 +45,8 @@ clean :
% : o/%.o
mpw Link $(LDFLAGS) -o $@ $^ $(LIBS)
$(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS)
o/%.o : %.c
mpw SC $(SCFLAGS) $< -o $@
$(MPW) SC $(SCFLAGS) $< -o $@