diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..df7073c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +.POSIX: +.SUFFIXES: + +CFLAGS=-Wall +CC=cc +debug=-g -DDEBUG -DLOCAL +fs=thing.c + +all: thing + +thing: $(fs) + $(CC) $(CFLAGS) -o thing $(fs) + +debug: + $(CC) $(CFLAGS) $(debug) -o thing $(fs) + +run: all + ./thing + +dr: debug + ./thing |