aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile.gnu19
1 files changed, 13 insertions, 6 deletions
diff --git a/makefile.gnu b/makefile.gnu
index 25f051e..4994bdd 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -74,11 +74,16 @@ build/history.o: history.f90 | modules build
@$(FC) -c -o "build/history.o" $(FFLAGS) "history.f90"
modules/history.mod : | modules build/history.o
-build/internal.o: internal.f90 modules/favorite_handling.mod modules/file_handling.mod | modules build
- @echo Compiling internal.f90
- @$(FC) -c -o "build/internal.o" $(FFLAGS) "internal.f90"
+build/internal.o: internal.F90 modules/favorite_handling.mod modules/file_handling.mod | modules build
+ @echo Compiling internal.F90
+ @$(FC) -c -o "build/internal.o" $(FFLAGS) "internal.F90"
modules/internal_links.mod : | modules build/internal.o
+build/favicon.o: favicon.f90 modules/platform.mod modules/gemini_protocol.mod
+ @echo Compiling favicon.f90
+ @$(FC) -c -o "build/favicon.o" $(FFLAGS) "favicon.f90"
+modules/favicon.mod: | build/favicon.o
+
build/jessl.o: jessl.f90 | modules build
@echo Compiling jessl.f90
@$(FC) -c -o "build/jessl.o" $(FFLAGS) "jessl.f90"
@@ -89,7 +94,7 @@ build/layout.o: layout.f90 modules/render.mod | modules build
@$(FC) -c -o "build/layout.o" $(FFLAGS) "layout.f90"
modules/layout.mod : | modules build/layout.o
-build/main.o: main.F90 modules/request.mod modules/dumb_render.mod modules/dumb_binary.mod modules/render.mod modules/gemini_protocol.mod modules/layout.mod modules/file_handling.mod modules/history.mod modules/internal_links.mod modules/favorite_handling.mod modules/platform.mod | modules build
+build/main.o: main.F90 modules/favicon.mod modules/request.mod modules/dumb_render.mod modules/dumb_binary.mod modules/render.mod modules/gemini_protocol.mod modules/layout.mod modules/file_handling.mod modules/history.mod modules/internal_links.mod modules/favorite_handling.mod modules/platform.mod | modules build
@echo Compiling main.F90
@$(FC) -c -o "build/main.o" $(FFLAGS) "main.F90"
@@ -127,6 +132,8 @@ clean:
@$(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/favicon.o and related files
+ @$(RM) "build/favicon.o" "modules/favicon.mod"
@echo Deleting build/favorites.o and related files
@$(RM) "build/favorites.o" "modules/favorite_handling.mod" "modules/favorite_handling.smod"
@echo Deleting build/files.o and related files
@@ -164,9 +171,9 @@ clean:
@echo Deleting lr87
@$(RM) "lr87"
-lr87: build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/favorites.o build/files.o build/history.o build/internal.o build/jessl.o build/layout.o build/main.o build/network.o build/platform.o build/protocol.o build/render.o build/request.o
+lr87: build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/favicon.o build/favorites.o build/files.o build/history.o build/internal.o build/jessl.o build/layout.o build/main.o build/network.o build/platform.o build/protocol.o build/render.o build/request.o
@echo Generating lr87
- @$(FC) -o "lr87" build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/favorites.o build/files.o build/history.o build/internal.o build/jessl.o build/layout.o build/main.o build/network.o build/platform.o build/protocol.o build/render.o build/request.o $(LDIR) $(PRJ_LFLAGS)
+ @$(FC) -o "lr87" build/binary.o build/dumb_binary.o build/dumb_render.o build/escape.o build/favicon.o build/favorites.o build/files.o build/history.o build/internal.o build/jessl.o build/layout.o build/main.o build/network.o build/platform.o build/protocol.o build/render.o build/request.o $(LDIR) $(PRJ_LFLAGS)
all: lr87