view test/hacking-mips/Makefile @ 665:ef356272a1c7 default tip

- introduced Makefile var APP_SUFFIX to handle cases where compilers implicitly add an extension to executables (e.g. llvm/mingw64 adds .exe even of not specified via -o)
author Tassilo Philipp
date Thu, 20 Jun 2024 17:10:12 +0200 (12 months ago)
parents f13444192ceb
children
line wrap: on
line source
CFLAGS = 
MODULES = main.o dispatch.o f.o node.o call.o
TARGETS = calls.s test
all: ${TARGETS}
test: ${MODULES}
	${CC} $^ -o $@
%.s: %.c
	${CC} -S $< -o $@
clean:
	${RM} ${TARGETS} *.o