no need to define COPY_DIR when cleaning
This commit is contained in:
1 parent
32c06751ba
commit
acf4a9dbc4
1 file changed
+4
-2
@@ -29,8 +29,10 @@ clean:
|
||||
rm -r build/
|
||||
|
||||
COPY_DIR := none
|
||||
ifeq ($(COPY_DIR),none)
|
||||
$(error S2DEX Text Engine: No COPY_DIR defined!)
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifeq ($(COPY_DIR),none)
|
||||
$(error S2DEX Text Engine: No COPY_DIR defined!)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(BUILD_DIR)/$(TARGET): $(O_FILES)
|
||||
|
||||
Reference in new issue
Block a user