CC = gcc CFLAGS = -Wall -L. -lm -O3 -march=native CDEBUGFLAGS = -Wall -L. -lm -g SOURCE = main.c TARGET = enhancer # Default target all: release # Rule to build the executable release: $(SOURCE) $(CC) $(CFLAGS) -o $(TARGET) $< debug: $(SOURCE) $(CC) $(CDEBUGFLAGS) -o $(TARGET)_debug $< # Rule to clean up object files and the executable clean: rm -f $(TARGET) $(TARGET)_debug *.o # Phony targets .PHONY: all clean