enhancer/Makefile
2024-07-16 13:44:28 +02:00

18 lines
No EOL
313 B
Makefile

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