measurer/Makefile
2024-07-15 11:58:55 +02:00

18 lines
No EOL
287 B
Makefile

CC = gcc
CFLAGS = -Wall -g
SOURCE = main.c
TARGET = measurer
# 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