assets to archive
This commit is contained in:
parent
86eee781d6
commit
c8ed64939d
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -6,6 +6,7 @@ MKDIR = mkdir -p
|
||||||
|
|
||||||
SRC_DIR = src
|
SRC_DIR = src
|
||||||
INC_DIR = includes
|
INC_DIR = includes
|
||||||
|
ASS_DIR = assets
|
||||||
SOURCES = $(wildcard $(SRC_DIR)/*.cpp) $(wildcard $(SRC_DIR)/**/*.cpp)
|
SOURCES = $(wildcard $(SRC_DIR)/*.cpp) $(wildcard $(SRC_DIR)/**/*.cpp)
|
||||||
OBJETS = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES)))
|
OBJETS = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES)))
|
||||||
|
|
||||||
|
@ -55,6 +56,6 @@ clean: pdf-clean
|
||||||
archive: pdf-make
|
archive: pdf-make
|
||||||
$(MKDIR) "$(ARCHIVE_DIR)"
|
$(MKDIR) "$(ARCHIVE_DIR)"
|
||||||
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md "$(wildcard $(PDF_DIR)/*.pdf)" \
|
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md "$(wildcard $(PDF_DIR)/*.pdf)" \
|
||||||
"$(ARCHIVE_DIR)"
|
"$(ASS_DIR)" "$(ARCHIVE_DIR)"
|
||||||
$(TAR) "$(ARCHIVE)" "$(ARCHIVE_DIR)"
|
$(TAR) "$(ARCHIVE)" "$(ARCHIVE_DIR)"
|
||||||
$(RM) "$(ARCHIVE_DIR)"
|
$(RM) "$(ARCHIVE_DIR)"
|
||||||
|
|
Reference in a new issue