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:
parent
2f1d14a302
commit
1949b0d734
1 changed files with 10 additions and 2 deletions
12
Makefile
12
Makefile
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue