aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: df7073c9c10da431b377d08531055dbefdea3f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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