diff options
author | xengineering <me@xengineering.eu> | 2023-04-16 11:44:28 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-16 11:44:28 +0200 |
commit | 59c7f02ad05af0223a08f47e3193c331a86445d5 (patch) | |
tree | 0079097fd9eea7c09067c2acf7cc978322db3fc2 /Makefile | |
parent | 70456216ebbcc7e5006b6a005c571457e60be6e7 (diff) | |
download | limox-59c7f02ad05af0223a08f47e3193c331a86445d5.tar limox-59c7f02ad05af0223a08f47e3193c331a86445d5.tar.zst limox-59c7f02ad05af0223a08f47e3193c331a86445d5.zip |
Switch completely to Go and Gio UI
The properties of the Go language, standard library and the Gio UI
library are well suited for this project. The existing experimental Go
code exceeds the GTK4 and SDL attempts by far with respect to quality
and code simplicity.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 2ffa1b8..0000000 --- a/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -CC=gcc -CFLAGS=-g -I. -lSDL2 -SRC:=$(shell find ./ -maxdepth 1 -type f -regex ".*\.c" -not -name "main.c") -OBJ:=$(patsubst ./%.c,build/%.o,$(SRC)) -_TESTS:=$(shell find ./tests/ -maxdepth 1 -type f -regex ".*\.c") -TESTS:=$(patsubst ./%.c,build/%,$(_TESTS)) - -LIMOX=build/limox -GRAPHICS=build/icon.png build/icon.pdf -DOCS=build/docs/README.pdf build/docs/ROADMAP.pdf - -all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS) $(GRAPHICS) - -build: - mkdir -p build/tests - mkdir -p build/docs - -$(LIMOX): $(OBJ) build/main.o - $(CC) -o $@ $^ $(CFLAGS) - -build/%.o: %.c - $(CC) -c -o $@ $< $(CFLAGS) - -build/%.png: %.svg - inkscape $< -o $@ -w 256 -h 256 - -build/%.pdf: %.svg - inkscape $< -o $@ -w 256 -h 256 - -build/docs/%.pdf: %.md $(GRAPHICS) - pandoc -o $@ $< - -build/tests/%: tests/%.c $(OBJ) - $(CC) -o $@ $< $(OBJ) $(CFLAGS) - $@ - -.PHONY: clean - -clean: - rm -rf build |