move extend to tools/

FossilOrigin-Name: 1ad5275544cbdc8967b8fbf25b5d690e5f2d9a7549a24c2b0cd815aafb6a946d
This commit is contained in:
crc 2017-10-19 19:27:08 +00:00
parent 71850ba39d
commit 4a40632738
4 changed files with 3 additions and 4 deletions

View file

@ -15,7 +15,6 @@ first:
cd tools && make
then:
cd source && make
./bin/unu literate/Unu.md >tools/unu.c
./bin/unu literate/Nga.md >source/nga.c
./bin/unu literate/Muri.md >tools/muri.c

View file

@ -6,19 +6,16 @@ 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

View file

@ -5,6 +5,7 @@ all: objects link finish
objects:
$(CC) $(OPTS) -c embedimage.c -o embedimage.o
$(CC) $(OPTS) -c extend.c -o extend.o
$(CC) $(OPTS) -c unu.c -o unu.o
$(CC) $(OPTS) -c muri.c -o muri.o
$(CC) $(OPTS) -c tanu.c -o tanu.o
@ -14,9 +15,11 @@ link:
$(CC) $(LIBS) muri.o -o muri
$(CC) $(LIBS) tanu.o -o tanu
$(CC) $(LIBS) embedimage.o -o embedimage
$(CC) $(LIBS) extend.o -o extend
finish:
mv embedimage ../bin
mv extend ../bin
mv unu ../bin
mv muri ../bin
mv tanu ../bin