aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5ccb2e0..222a403 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,18 @@
-# use gmake!
+CC=gcc
+BINPATH=bin/
+CFLAGS=-c -Wall -std=gnu99
+DEVFLAGS= -g -o $(BINPATH)devel/outfile-tmp \
+-Wextra -Werror -pedantic \
+-O0 $(SOURCES)
-.PHONY: all
+SOURCES=main.c
+.PHONY: all build clean install
+
+all:
+ $(CC) $(CFLAGS) $(DEVFLAGS)
+
+clean:
+build:
+install: