From 4a40632738e019be79d8ce792df24dd43199fda8 Mon Sep 17 00:00:00 2001 From: crc Date: Thu, 19 Oct 2017 19:27:08 +0000 Subject: [PATCH] move extend to tools/ FossilOrigin-Name: 1ad5275544cbdc8967b8fbf25b5d690e5f2d9a7549a24c2b0cd815aafb6a946d --- Makefile | 1 - source/Makefile | 3 --- tools/Makefile | 3 +++ {source => tools}/extend.c | 0 4 files changed, 3 insertions(+), 4 deletions(-) rename {source => tools}/extend.c (100%) diff --git a/Makefile b/Makefile index 48b67f2..f26677f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/source/Makefile b/source/Makefile index 6568d80..d59d408 100644 --- a/source/Makefile +++ b/source/Makefile @@ -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 diff --git a/tools/Makefile b/tools/Makefile index 5d34a19..101aa44 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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 diff --git a/source/extend.c b/tools/extend.c similarity index 100% rename from source/extend.c rename to tools/extend.c