1
0
Fork 0
mirror of https://github.com/ErikAndren/cue2pops-mac.git synced 2025-04-19 15:38:04 +02:00

Add debug target

This commit is contained in:
Erik Andrén Zachrisson 2015-10-30 22:55:53 +01:00
parent f44e4754b7
commit 57da5e5e00

View file

@ -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)