expression-parser/Makefile

16 lines
258 B
Makefile
Raw Permalink Normal View History

2021-11-16 23:23:54 +01:00
LDFLAGS =
#CFLAGS = -Ofast -march=native -Wall -pedantic -Werror -lm
CFLAGS = -ggdb -march=native -Wall -pedantic -Werror -lm
CC = cc
EXE = exp
all: $(EXE)
$(EXE): main.c
$(CC) -o $@ $^ $(LDFLAGS) $(CFLAGS)
.PHONY: clean
clean:
rm -f $(EXE)