retroforth/source/Makefile
crc 71850ba39d extend.c now an amalgamation
FossilOrigin-Name: 9189c7468cacac1850376fa99e61e60984e8b41497973088874fd554a1cec2f3
2017-10-19 19:25:25 +00:00

24 lines
538 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 -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