blob: 9305ccf77ec570e8f98d70e084ac9ee0c5573890 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | 
.PHONY: run clean
CC = gcc
# CFLAGS = -g -Wall -Wextra -Wmissing-declarations -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wsign-compare
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
  |