aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-08-11 14:11:59 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-08-11 14:11:59 -0400
commit78adde8c6b15f11a455134f78814ed00a33b40d6 (patch)
tree0788f90fd2b179a3adb1b9dddd740108f319a8f0
parenta4980af5cc408332ffb2362203222b91717f3eb3 (diff)
downloadLR-87-78adde8c6b15f11a455134f78814ed00a33b40d6.zip
LR-87-78adde8c6b15f11a455134f78814ed00a33b40d6.tar.gz
Updated GNU Makefile
-rw-r--r--makefile.gnu178
1 files changed, 91 insertions, 87 deletions
diff --git a/makefile.gnu b/makefile.gnu
index 15cb919..195f6d2 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -1,19 +1,16 @@
#
-# Automagically generated by Approximatrix Simply Fortran 3.11
+# Automagically generated by Approximatrix Simply Fortran 3.14
#
FC?="gfortran"
-CC?="/usr/bin/gcc"
+CC?="gcc"
AR?="ar"
WRC?="windres"
RM=rm -f
-DESTDIR?=/usr/local
-
IDIR=
LDIR=
-ZIPFILE=lr87-src-$(shell date +%Y%m%d)
OPTFLAGS= -g
@@ -39,97 +36,120 @@ modules:
.PHONY: all clean
-build/binary.o: binary.f90 | modules build
+/home/pi/Workspace/gemini-fortran/build/binary.o: binary.f90 | modules build
@echo Compiling binary.f90
- @$(FC) -c -o build/binary.o $(FFLAGS) binary.f90
-modules/binary.mod : | modules build/binary.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/binary.o" $(FFLAGS) "binary.f90"
+/home/pi/Workspace/gemini-fortran/modules/binary.mod : | modules /home/pi/Workspace/gemini-fortran/build/binary.o
-build/dumb_binary.o: dumb_binary.f90 | modules build
+/home/pi/Workspace/gemini-fortran/build/dumb_binary.o: dumb_binary.f90 /home/pi/Workspace/gemini-fortran/modules/binary.mod | modules build
@echo Compiling dumb_binary.f90
- @$(FC) -c -o build/dumb_binary.o $(FFLAGS) dumb_binary.f90
-modules/dumb_binary.mod : | modules build/dumb_binary.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/dumb_binary.o" $(FFLAGS) "dumb_binary.f90"
+/home/pi/Workspace/gemini-fortran/modules/dumb_binary.mod : | modules /home/pi/Workspace/gemini-fortran/build/dumb_binary.o
-build/dumb_render.o: dumb_render.f90 modules/render.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/dumb_render.o: dumb_render.f90 /home/pi/Workspace/gemini-fortran/modules/render.mod | modules build
@echo Compiling dumb_render.f90
- @$(FC) -c -o "build/dumb_render.o" $(FFLAGS) "dumb_render.f90"
-modules/dumb_render.mod : | modules build/dumb_render.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/dumb_render.o" $(FFLAGS) "dumb_render.f90"
+/home/pi/Workspace/gemini-fortran/modules/dumb_render.mod : | modules /home/pi/Workspace/gemini-fortran/build/dumb_render.o
-build/escape.o: escape.f90 | modules build
+/home/pi/Workspace/gemini-fortran/build/escape.o: escape.f90 | modules build
@echo Compiling escape.f90
- @$(FC) -c -o "build/escape.o" $(FFLAGS) "escape.f90"
-modules/escaper.mod : | modules build/escape.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/escape.o" $(FFLAGS) "escape.f90"
+/home/pi/Workspace/gemini-fortran/modules/escaper.mod : | modules /home/pi/Workspace/gemini-fortran/build/escape.o
+
+/home/pi/Workspace/gemini-fortran/build/favorites.o: favorites.f90 | modules build
+ @echo Compiling favorites.f90
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/favorites.o" $(FFLAGS) "favorites.f90"
+/home/pi/Workspace/gemini-fortran/modules/favorite_handling.mod : | modules /home/pi/Workspace/gemini-fortran/build/favorites.o
-build/files.o: files.f90 modules/layout.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/files.o: files.f90 /home/pi/Workspace/gemini-fortran/modules/layout.mod | modules build
@echo Compiling files.f90
- @$(FC) -c -o "build/files.o" $(FFLAGS) "files.f90"
-modules/file_handling.mod : | modules build/files.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/files.o" $(FFLAGS) "files.f90"
+/home/pi/Workspace/gemini-fortran/modules/file_handling.mod : | modules /home/pi/Workspace/gemini-fortran/build/files.o
-build/history.o: history.f90 | modules build
+/home/pi/Workspace/gemini-fortran/build/history.o: history.f90 | modules build
@echo Compiling history.f90
- @$(FC) -c -o "build/history.o" $(FFLAGS) "history.f90"
-modules/history.mod : | modules build/history.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/history.o" $(FFLAGS) "history.f90"
+/home/pi/Workspace/gemini-fortran/modules/history.mod : | modules /home/pi/Workspace/gemini-fortran/build/history.o
-build/jessl.o: jessl.f90 | modules build
+/home/pi/Workspace/gemini-fortran/build/internal.o: internal.f90 /home/pi/Workspace/gemini-fortran/modules/favorite_handling.mod /home/pi/Workspace/gemini-fortran/modules/file_handling.mod | modules build
+ @echo Compiling internal.f90
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/internal.o" $(FFLAGS) "internal.f90"
+/home/pi/Workspace/gemini-fortran/modules/internal_links.mod : | modules /home/pi/Workspace/gemini-fortran/build/internal.o
+
+/home/pi/Workspace/gemini-fortran/build/jessl.o: jessl.f90 | modules build
@echo Compiling jessl.f90
- @$(FC) -c -o "build/jessl.o" $(FFLAGS) "jessl.f90"
-modules/jessl.mod : | modules build/jessl.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/jessl.o" $(FFLAGS) "jessl.f90"
+/home/pi/Workspace/gemini-fortran/modules/jessl.mod : | modules /home/pi/Workspace/gemini-fortran/build/jessl.o
-build/layout.o: layout.f90 modules/render.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/layout.o: layout.f90 /home/pi/Workspace/gemini-fortran/modules/render.mod | modules build
@echo Compiling layout.f90
- @$(FC) -c -o "build/layout.o" $(FFLAGS) "layout.f90"
-modules/layout.mod : | modules build/layout.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/layout.o" $(FFLAGS) "layout.f90"
+/home/pi/Workspace/gemini-fortran/modules/layout.mod : | modules /home/pi/Workspace/gemini-fortran/build/layout.o
-build/main.o: main.F90 modules/request.mod modules/dumb_binary.mod modules/dumb_render.mod modules/gemini_protocol.mod modules/layout.mod modules/file_handling.mod modules/history.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/main.o: main.F90 /home/pi/Workspace/gemini-fortran/modules/request.mod /home/pi/Workspace/gemini-fortran/modules/dumb_render.mod /home/pi/Workspace/gemini-fortran/modules/dumb_binary.mod /home/pi/Workspace/gemini-fortran/modules/render.mod /home/pi/Workspace/gemini-fortran/modules/gemini_protocol.mod /home/pi/Workspace/gemini-fortran/modules/layout.mod /home/pi/Workspace/gemini-fortran/modules/file_handling.mod /home/pi/Workspace/gemini-fortran/modules/history.mod /home/pi/Workspace/gemini-fortran/modules/internal_links.mod /home/pi/Workspace/gemini-fortran/modules/favorite_handling.mod /home/pi/Workspace/gemini-fortran/modules/platform.mod | modules build
@echo Compiling main.F90
- @$(FC) -c -o "build/main.o" $(FFLAGS) "main.F90"
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/main.o" $(FFLAGS) "main.F90"
-build/network.o: network.F90 | modules build
+/home/pi/Workspace/gemini-fortran/build/network.o: network.F90 | modules build
@echo Compiling network.F90
- @$(FC) -c -o "build/network.o" $(FFLAGS) "network.F90"
-modules/network.mod : | modules build/network.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/network.o" $(FFLAGS) "network.F90"
+/home/pi/Workspace/gemini-fortran/modules/network.mod : | modules /home/pi/Workspace/gemini-fortran/build/network.o
+
+/home/pi/Workspace/gemini-fortran/build/platform.o: platform.F90 | modules build
+ @echo Compiling platform.F90
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/platform.o" $(FFLAGS) "platform.F90"
+/home/pi/Workspace/gemini-fortran/modules/platform.mod : | modules /home/pi/Workspace/gemini-fortran/build/platform.o
-build/protocol.o: protocol.f90 modules/request.mod modules/file_handling.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/protocol.o: protocol.f90 /home/pi/Workspace/gemini-fortran/modules/request.mod /home/pi/Workspace/gemini-fortran/modules/file_handling.mod /home/pi/Workspace/gemini-fortran/modules/binary.mod | modules build
@echo Compiling protocol.f90
- @$(FC) -c -o "build/protocol.o" $(FFLAGS) "protocol.f90"
-modules/gemini_protocol.mod : | modules build/protocol.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/protocol.o" $(FFLAGS) "protocol.f90"
+/home/pi/Workspace/gemini-fortran/modules/gemini_protocol.mod : | modules /home/pi/Workspace/gemini-fortran/build/protocol.o
-build/render.o: render.f90 modules/escaper.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/render.o: render.f90 /home/pi/Workspace/gemini-fortran/modules/escaper.mod | modules build
@echo Compiling render.f90
- @$(FC) -c -o "build/render.o" $(FFLAGS) "render.f90"
-modules/render.mod : | modules build/render.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/render.o" $(FFLAGS) "render.f90"
+/home/pi/Workspace/gemini-fortran/modules/render.mod : | modules /home/pi/Workspace/gemini-fortran/build/render.o
-build/request.o: request.f90 modules/network.mod modules/jessl.mod | modules build
+/home/pi/Workspace/gemini-fortran/build/request.o: request.f90 /home/pi/Workspace/gemini-fortran/modules/network.mod /home/pi/Workspace/gemini-fortran/modules/jessl.mod | modules build
@echo Compiling request.f90
- @$(FC) -c -o "build/request.o" $(FFLAGS) "request.f90"
-modules/request.mod : | modules build/request.o
+ @$(FC) -c -o "/home/pi/Workspace/gemini-fortran/build/request.o" $(FFLAGS) "request.f90"
+/home/pi/Workspace/gemini-fortran/modules/request.mod : | modules /home/pi/Workspace/gemini-fortran/build/request.o
clean:
- @echo Deleting build/binary.o and related files
- @$(RM) "build/binary.o" "modules/binary.mod" "modules/binary.smod"
- @echo Deleting build/dumb_binary.o and related files
- @$(RM) "build/dumb_binary.o" "modules/dumb_binary.mod" "modules/dumb_binary.smod"
- @echo Deleting build/dumb_render.o and related files
- @$(RM) "build/dumb_render.o" "modules/dumb_render.mod" "modules/dumb_render.smod"
- @echo Deleting build/escape.o and related files
- @$(RM) "build/escape.o" "modules/escaper.mod" "modules/escaper.smod"
- @echo Deleting build/files.o and related files
- @$(RM) "build/files.o" "modules/file_handling.mod" "modules/file_handling.smod"
- @echo Deleting build/history.o and related files
- @$(RM) "build/history.o" "modules/history.mod" "modules/history.smod"
- @echo Deleting build/jessl.o and related files
- @$(RM) "build/jessl.o" "modules/jessl.mod" "modules/jessl.smod"
- @echo Deleting build/layout.o and related files
- @$(RM) "build/layout.o" "modules/layout.mod" "modules/layout.smod"
- @echo Deleting build/main.o and related files
- @$(RM) "build/main.o"
- @echo Deleting build/network.o and related files
- @$(RM) "build/network.o" "modules/network.mod" "modules/network.smod"
- @echo Deleting build/protocol.o and related files
- @$(RM) "build/protocol.o" "modules/gemini_protocol.mod" "modules/gemini_protocol.smod"
- @echo Deleting build/render.o and related files
- @$(RM) "build/render.o" "modules/render.mod" "modules/render.smod"
- @echo Deleting build/request.o and related files
- @$(RM) "build/request.o" "modules/request.mod" "modules/request.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/binary.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/binary.o" "/home/pi/Workspace/gemini-fortran/modules/binary.mod" "/home/pi/Workspace/gemini-fortran/modules/binary.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/dumb_binary.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/dumb_binary.o" "/home/pi/Workspace/gemini-fortran/modules/dumb_binary.mod" "/home/pi/Workspace/gemini-fortran/modules/dumb_binary.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/dumb_render.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/dumb_render.o" "/home/pi/Workspace/gemini-fortran/modules/dumb_render.mod" "/home/pi/Workspace/gemini-fortran/modules/dumb_render.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/escape.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/escape.o" "/home/pi/Workspace/gemini-fortran/modules/escaper.mod" "/home/pi/Workspace/gemini-fortran/modules/escaper.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/favorites.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/favorites.o" "/home/pi/Workspace/gemini-fortran/modules/favorite_handling.mod" "/home/pi/Workspace/gemini-fortran/modules/favorite_handling.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/files.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/files.o" "/home/pi/Workspace/gemini-fortran/modules/file_handling.mod" "/home/pi/Workspace/gemini-fortran/modules/file_handling.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/history.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/history.o" "/home/pi/Workspace/gemini-fortran/modules/history.mod" "/home/pi/Workspace/gemini-fortran/modules/history.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/internal.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/internal.o" "/home/pi/Workspace/gemini-fortran/modules/internal_links.mod" "/home/pi/Workspace/gemini-fortran/modules/internal_links.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/jessl.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/jessl.o" "/home/pi/Workspace/gemini-fortran/modules/jessl.mod" "/home/pi/Workspace/gemini-fortran/modules/jessl.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/layout.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/layout.o" "/home/pi/Workspace/gemini-fortran/modules/layout.mod" "/home/pi/Workspace/gemini-fortran/modules/layout.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/main.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/main.o"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/network.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/network.o" "/home/pi/Workspace/gemini-fortran/modules/network.mod" "/home/pi/Workspace/gemini-fortran/modules/network.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/platform.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/platform.o" "/home/pi/Workspace/gemini-fortran/modules/platform.mod" "/home/pi/Workspace/gemini-fortran/modules/platform.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/protocol.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/protocol.o" "/home/pi/Workspace/gemini-fortran/modules/gemini_protocol.mod" "/home/pi/Workspace/gemini-fortran/modules/gemini_protocol.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/render.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/render.o" "/home/pi/Workspace/gemini-fortran/modules/render.mod" "/home/pi/Workspace/gemini-fortran/modules/render.smod"
+ @echo Deleting /home/pi/Workspace/gemini-fortran/build/request.o and related files
+ @$(RM) "/home/pi/Workspace/gemini-fortran/build/request.o" "/home/pi/Workspace/gemini-fortran/modules/request.mod" "/home/pi/Workspace/gemini-fortran/modules/request.smod"
+ @echo Deleting build/sdl_render.o and related files
+ @$(RM) "build/sdl_render.o"
@echo Deleting build/test.o and related files
@$(RM) "build/test.o"
@echo Deleting build/test_ssl.o and related files
@@ -141,25 +161,9 @@ clean:
@echo Deleting lr87
@$(RM) "lr87"
-lr87: build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/files.o build/history.o build/jessl.o build/layout.o build/main.o build/network.o build/protocol.o build/render.o build/request.o
+lr87: /home/pi/Workspace/gemini-fortran/build/binary.o /home/pi/Workspace/gemini-fortran/build/dumb_binary.o /home/pi/Workspace/gemini-fortran/build/dumb_render.o /home/pi/Workspace/gemini-fortran/build/escape.o /home/pi/Workspace/gemini-fortran/build/favorites.o /home/pi/Workspace/gemini-fortran/build/files.o /home/pi/Workspace/gemini-fortran/build/history.o /home/pi/Workspace/gemini-fortran/build/internal.o /home/pi/Workspace/gemini-fortran/build/jessl.o /home/pi/Workspace/gemini-fortran/build/layout.o /home/pi/Workspace/gemini-fortran/build/main.o /home/pi/Workspace/gemini-fortran/build/network.o /home/pi/Workspace/gemini-fortran/build/platform.o /home/pi/Workspace/gemini-fortran/build/protocol.o /home/pi/Workspace/gemini-fortran/build/render.o /home/pi/Workspace/gemini-fortran/build/request.o
@echo Generating lr87
- @$(FC) -o "lr87" build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/files.o build/history.o build/jessl.o build/layout.o build/main.o build/network.o build/protocol.o build/render.o build/request.o $(LDIR) $(PRJ_LFLAGS)
+ @$(FC) -o "lr87" /home/pi/Workspace/gemini-fortran/build/binary.o /home/pi/Workspace/gemini-fortran/build/dumb_binary.o /home/pi/Workspace/gemini-fortran/build/dumb_render.o /home/pi/Workspace/gemini-fortran/build/escape.o /home/pi/Workspace/gemini-fortran/build/favorites.o /home/pi/Workspace/gemini-fortran/build/files.o /home/pi/Workspace/gemini-fortran/build/history.o /home/pi/Workspace/gemini-fortran/build/internal.o /home/pi/Workspace/gemini-fortran/build/jessl.o /home/pi/Workspace/gemini-fortran/build/layout.o /home/pi/Workspace/gemini-fortran/build/main.o /home/pi/Workspace/gemini-fortran/build/network.o /home/pi/Workspace/gemini-fortran/build/platform.o /home/pi/Workspace/gemini-fortran/build/protocol.o /home/pi/Workspace/gemini-fortran/build/render.o /home/pi/Workspace/gemini-fortran/build/request.o $(LDIR) $(PRJ_LFLAGS)
all: lr87
-$(DESTDIR)/bin/lr87: lr87
- mkdir -p $(DESTDIR)/bin
- cp lr87 $(DESTDIR)/bin
-$(DESTDIR)/share/lr87/LICENSE.txt: LICENSE.txt
- mkdir -p $(DESTDIR)/share/lr87
- cp LICENSE.txt $(DESTDIR)/share/lr87
-$(DESTDIR)/share/lr87/README.md: README.md
- mkdir -p $(DESTDIR)/share/lr87
- cp README.md $(DESTDIR)/share/lr87
-
-$(ZIPFILE):
- zip -9 $(ZIPFILE) *.f90 makefile.gnu LICENSE.txt README.md gemini.prj gemini-windows.prj -x tes*.f90
-
-zip: $(ZIPFILE)
-
-install: $(DESTDIR)/bin/lr87 $(DESTDIR)/share/lr87/LICENSE.txt $(DESTDIR)/share/lr87/README.md