diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac7c235 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +PROGNAME=$(shell pwd | xargs basename) + +$(PROGNAME): main.o + gcc -s -o $@ $< + +%.o: %.c + gcc -c -pedantic -Wall -std=c99 -o $@ $< + +clean: + @echo cleaning... + @rm -f *.o *~ core.* |
