rosella/Makefile

19 lines
247 B
Makefile

CFLAGS = -std=c99 -O2 -DNDEBUG
all: gc
.PHONY: all clean
ifneq ($(PROFILE),no)
CFLAGS += -fprofile-generate
endif
ifneq (,$(wildcard *.gcda))
CFLAGS += -fprofile-use
dummy := $(shell rm -f gc)
endif
clean:
-rm -f gc gc.gcda gc.gcno
gc: gc.c