1
0
Fork 0

Merge branch 'master' of u-pl12.ms.mff.cuni.cz:Git/Zapoctak

master
LEdoian 7 years ago
commit 6a99fb07d1

1
.gitignore vendored

@ -6,3 +6,4 @@
*.dump *.dump
# No files compiled with default filename # No files compiled with default filename
a.out a.out
zapoctak

@ -0,0 +1,21 @@
CC:=gcc
WARNINGS:=-Wall -Wextra -Wpedantic
CCFLAGS:=$(WARNINGS) -g
LINKER:=gcc
LINKFLAGS:=
all: zapoctak
zapoctak: main.x
mv main.x zapoctak
%.x: %.o
$(LINKER) -o $@ $(LINKFLAGS) $^
%.o: %.c
$(CC) -c -o $@ $(CCFLAGS) $<
clean:
-rm -v *.x *.o *.dump a.out 2>/dev/null
.PHONY: all clean
Loading…
Cancel
Save