retroforth/source/Makefile
crc 9ef0b7ee11 continue work on moving toolchain to separate directory
FossilOrigin-Name: 845e98eb19e441194374756e354c367ef1949915c2595010425258dafd44d54f
2017-10-19 19:11:45 +00:00

24 lines
553 B
Makefile

RRE_FLAGS = -DFPU -DPOSIX_FILES -DPOSIX_ARGS -DARGV -DGOPHER
LIBS = -lm
OPTS = -O3
all: objects link finish
objects:
$(CC) $(OPTS) -c bridge.c -o bridge.o
$(CC) $(OPTS) -c extend.c -o extend.o
$(CC) $(OPTS) -c rre.c -o rre.o
$(CC) $(OPTS) -c repl.c -o repl.o
$(CC) $(OPTS) -c nga.c -o nga.o
$(CC) $(OPTS) -c image.c -o image.o
link:
$(CC) $(LIBS) extend.o bridge.o nga.o -o extend
$(CC) $(LIBS) rre.o bridge.o nga.o image.o -o rre
$(CC) $(LIBS) repl.o bridge.o nga.o -o repl
finish:
mv extend ../bin
mv rre ../bin
mv repl ../bin
rm *.o