(g)makefile, structuring filesystem
[systembsd.git] / Makefile
index 631a7abd412341dedd7d4e1b96b9005350a0d125..222a403e6a46e6f8f5ce668c644d719936ff87dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1 +1,18 @@
-# see next commit
+CC=gcc
+BINPATH=bin/
+CFLAGS=-c -Wall -std=gnu99
+DEVFLAGS= -g -o $(BINPATH)devel/outfile-tmp                   \
+-Wextra -Werror -pedantic                                     \
+-O0 $(SOURCES)
+
+SOURCES=main.c
+
+.PHONY: all build clean install
+
+all: 
+       $(CC) $(CFLAGS) $(DEVFLAGS)
+
+clean:
+build:
+install:
+