summaryrefslogtreecommitdiffstats
path: root/inf/zotks/makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-13 17:25:46 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-13 17:25:46 +0100
commit9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026 (patch)
treeff24d4ce2b5c11ddafa8932edacbc4588dd927b0 /inf/zotks/makefile
parentfizvaje56 (diff)
downloadsola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar.gz
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar.bz2
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar.lz
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar.xz
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.tar.zst
sola-gimb-4-9e3cdb5da0b4fc1ff3b0fca15b4118785aebe026.zip
Diffstat (limited to '')
-rw-r--r--inf/zotks/makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/inf/zotks/makefile b/inf/zotks/makefile
new file mode 100644
index 0000000..f6c8f90
--- /dev/null
+++ b/inf/zotks/makefile
@@ -0,0 +1,15 @@
+CF=-Wall -Wextra -Wformat -Wformat-security -pedantic -g -O0 -I.
+LF=-lm
+default: $(subst .c,,$(shell find -name '*.c'))
+%: %.c
+ $(CC) $(CF) $(CFLAGS) $< -o$@ $(LF) $(LDFLAGS)
+
+navodila: s1_super_trojcek.pdf s1_tek.pdf s1_telefon.pdf
+
+%.pdf:
+ wget http://upload/d/$@
+
+clean:
+ rm -f 1 2 3 4 5 6 *.pdf
+
+.PHONY: default clean navodila