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

Add install target

This commit is contained in:
Erik Andrén Zachrisson 2015-10-30 22:14:08 +01:00
parent 2f1d14a302
commit 1949b0d734

View file

@ -2,16 +2,24 @@
SRC = cue2pops.c
CC = gcc
CFLAGS = -Wall
CFLAGS = -Wall -Wextra
TARGET = cue2pops
INSTALL_DIR = /usr/local/bin
RM = rm
all: cue2pops
CP = cp
cue2pops:
$(CC) $(CFLAGS) $(SRC) -o $(TARGET)
all: cue2pops
install:
$(CP) $(TARGET) $(INSTALL_DIR)
clean:
$(RM) $(TARGET)