aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-05-20 11:37:30 +0800
committerkremlin <ian@kremlin.cc>2014-05-20 11:37:30 +0800
commit32a2d8e20882543d2feac2641c54ff0ba65f84fa (patch)
tree20f403822eb712e29002205a1e5fa261b33d0a6e
parent9fd3f859f758d01727ccb30b130f2052eac3b66f (diff)
downloadsystembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar.gz
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar.bz2
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar.lz
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar.xz
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.tar.zst
systembsd-32a2d8e20882543d2feac2641c54ff0ba65f84fa.zip
(g)makefile, structuring filesystem
-rw-r--r--Makefile17
-rwxr-xr-xa.outbin0 -> 9827 bytes
-rw-r--r--bin/devel/outfile-tmpbin0 -> 2992 bytes
-rw-r--r--bin/tmp2
4 files changed, 15 insertions, 4 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:
diff --git a/a.out b/a.out
new file mode 100755
index 0000000..ef9306e
--- /dev/null
+++ b/a.out
Binary files differ
diff --git a/bin/devel/outfile-tmp b/bin/devel/outfile-tmp
new file mode 100644
index 0000000..21f0d39
--- /dev/null
+++ b/bin/devel/outfile-tmp
Binary files differ
diff --git a/bin/tmp b/bin/tmp
deleted file mode 100644
index a3217c8..0000000
--- a/bin/tmp
+++ /dev/null
@@ -1,2 +0,0 @@
-TODO: delete me!
-