Files
grpkill/Makefile
2018-03-16 13:50:36 +01:00

23 lines
423 B
Makefile

CC = gcc
# compiler flags:
# -g adds debugging information to the executable file
# -Wall turns on most, but not all, compiler warnings
CFLAGS = -g -Wall
CFLAGS_PROD = -s -Wall
# the build target executable:
TARGET = grpkill
all: $(TARGET)
$(TARGET): $(TARGET).c
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c
$(TARGET)-prod: $(TARGET).c
$(CC) $(CFLAGS_PROD) -o $(TARGET)-prod $(TARGET).c
clean:
$(RM) $(TARGET)