added dot before paths
This commit is contained in:
parent
c1c0e41a33
commit
019c9206be
10
Makefile
10
Makefile
@ -3,11 +3,11 @@ CC=cc
|
|||||||
CFLAGS=-Wall -Wextra -Werror -Wcomment -Wformat -Wformat-security -Wmain -Wnonnull -Wunused -std=c11
|
CFLAGS=-Wall -Wextra -Werror -Wcomment -Wformat -Wformat-security -Wmain -Wnonnull -Wunused -std=c11
|
||||||
|
|
||||||
# Source Code
|
# Source Code
|
||||||
SRC=src/lib/*.c
|
SRC=./src/lib/*.c
|
||||||
SRC_APP=src/app/*.c
|
SRC_APP=./src/app/*.c
|
||||||
INCLUDE_DIR=include
|
INCLUDE_DIR=./include
|
||||||
INCLUDE=$(INCLUDE_DIR)/*.h
|
INCLUDE=$(INCLUDE_DIR)/*.h
|
||||||
TEST=src/lib/test/main.c
|
TEST=./src/lib/test/main.c
|
||||||
LIBS=-ljson-c -lcurl -lgit2
|
LIBS=-ljson-c -lcurl -lgit2
|
||||||
|
|
||||||
# Output Files
|
# Output Files
|
||||||
@ -36,7 +36,7 @@ installHeader:
|
|||||||
installLib:
|
installLib:
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC)
|
||||||
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS)
|
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS)
|
||||||
install -m 755 lib$(PROJECT_NAME).so $(INSTALL_LIBRARY)/lib$(PROJECT_NAME).so
|
install -m 755 ./lib$(PROJECT_NAME).so $(INSTALL_LIBRARY)/lib$(PROJECT_NAME).so
|
||||||
|
|
||||||
installApp: app
|
installApp: app
|
||||||
install -m 755 $(OUTPUT_APP) $(INSTALL_BIN)/$(PROJECT_NAME)
|
install -m 755 $(OUTPUT_APP) $(INSTALL_BIN)/$(PROJECT_NAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user