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

32 lines
351 B
Makefile
Raw Permalink Normal View History

2015-10-30 21:49:01 +01:00
SRC = cue2pops.c
CC = gcc
2015-10-30 22:14:08 +01:00
CFLAGS = -Wall -Wextra
2015-10-30 21:49:01 +01:00
CFLAGS_DEBUG = $(CFLAGS) -O0 -g -DDEBUG
2015-10-30 22:55:53 +01:00
2015-10-30 21:51:24 +01:00
TARGET = cue2pops
2015-10-30 21:49:01 +01:00
2015-10-30 22:14:08 +01:00
INSTALL_DIR = /usr/local/bin
2015-10-30 21:51:24 +01:00
RM = rm
2015-10-30 22:14:08 +01:00
CP = cp
2015-10-30 21:51:24 +01:00
2015-10-30 22:55:53 +01:00
all: cue2pops
2015-10-30 21:51:24 +01:00
cue2pops:
2015-10-30 22:00:52 +01:00
$(CC) $(CFLAGS) $(SRC) -o $(TARGET)
2015-10-30 21:51:24 +01:00
2015-10-30 22:55:53 +01:00
debug:
$(CC) $(CFLAGS_DEBUG) $(SRC) -o $(TARGET)
2015-10-30 22:14:08 +01:00
2015-10-30 23:12:39 +01:00
install: cue2pops
2015-10-30 22:14:08 +01:00
$(CP) $(TARGET) $(INSTALL_DIR)
2015-10-30 21:51:24 +01:00
clean:
$(RM) $(TARGET)
2015-10-30 22:14:08 +01:00