18 lines
No EOL
313 B
Makefile
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 |