update test makefile

This commit is contained in:
Kelvin Sherlock 2015-01-20 13:58:24 -05:00
parent b1e6635630
commit 45fa54abca

View File

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