summaryrefslogblamecommitdiffstats
path: root/inf/zotks/makefile
blob: f6c8f904205e0ee871f32d12fcaf53c53820dafb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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