diff --git a/Makefile b/Makefile index 720d46c..ebbcae3 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ SRC = cue2pops.c CC = gcc CFLAGS = -Wall -Wextra +CFLAGS_DEBUG = $(CFLAGS) -O0 -g + TARGET = cue2pops INSTALL_DIR = /usr/local/bin @@ -12,10 +14,14 @@ RM = rm CP = cp +all: cue2pops + cue2pops: $(CC) $(CFLAGS) $(SRC) -o $(TARGET) -all: cue2pops +debug: + $(CC) $(CFLAGS_DEBUG) $(SRC) -o $(TARGET) + install: $(CP) $(TARGET) $(INSTALL_DIR)