grpkill initial commit

This commit is contained in:
2018-03-16 13:50:36 +01:00
commit 2f2638ddff
3 changed files with 72 additions and 0 deletions

22
Makefile Normal file
View 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)