grpkill initial commit
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user