aboutsummaryrefslogtreecommitdiff
path: root/sandbox/envvar/Makefile
blob: ae4c74e68930ae91d68ee40a24424742501adb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.PHONY: run clean

CC = gcc
CFLAGS = -g -Wall -Wmissing-declarations -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wsign-compare

all: envvar

envvar: envvar.c
	$(CC) $(CFLAGS) -std=c99 -pedantic -o envvar envvar.c

run:
	./envvar

clean:
	rm envvar