retroforth/source/Makefile
crc 4a40632738 move extend to tools/
FossilOrigin-Name: 1ad5275544cbdc8967b8fbf25b5d690e5f2d9a7549a24c2b0cd815aafb6a946d
2017-10-19 19:27:08 +00:00

21 lines
447 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 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) rre.o bridge.o nga.o image.o -o rre
$(CC) $(LIBS) repl.o bridge.o nga.o -o repl
finish:
mv rre ../bin
mv repl ../bin
rm *.o