projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(g)makefile, structuring filesystem
[systembsd.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 5ccb2e0536f6dc7c0b3a0599fac74492919641cb..222a403e6a46e6f8f5ce668c644d719936ff87dc 100644
(file)
--- 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: