diff options
author | kremlin <ian@kremlin.cc> | 2014-05-20 11:37:30 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-05-20 11:37:30 +0800 |
commit | 32a2d8e20882543d2feac2641c54ff0ba65f84fa (patch) | |
tree | 20f403822eb712e29002205a1e5fa261b33d0a6e | |
parent | 9fd3f859f758d01727ccb30b130f2052eac3b66f (diff) | |
download | systembsd-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-- | Makefile | 17 | ||||
-rwxr-xr-x | a.out | bin | 0 -> 9827 bytes | |||
-rw-r--r-- | bin/devel/outfile-tmp | bin | 0 -> 2992 bytes | |||
-rw-r--r-- | bin/tmp | 2 |
4 files changed, 15 insertions, 4 deletions
@@ -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/bin/devel/outfile-tmp b/bin/devel/outfile-tmp Binary files differnew file mode 100644 index 0000000..21f0d39 --- /dev/null +++ b/bin/devel/outfile-tmp 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! - |