mirror of
https://github.com/thestk/stk
synced 2026-01-31 06:53:39 +00:00
Create Release and Debug directories if they are not present.
Otherwise, build fails if these directories do not exist.
This commit is contained in:
committed by
Stephen Sinclair
parent
a117cd0bb1
commit
e449ac3583
@@ -31,14 +31,18 @@ ifeq ($(strip $(RAWWAVES)), )
|
||||
endif
|
||||
DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\"
|
||||
|
||||
%.o : $(SRC_PATH)/%.cpp
|
||||
%.o : $(SRC_PATH)/%.cpp $(OBJECT_PATH)/.placeholder
|
||||
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
|
||||
|
||||
%.o : ../../src/include/%.cpp
|
||||
%.o : ../../src/include/%.cpp $(OBJECT_PATH)/.placeholder
|
||||
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
|
||||
|
||||
all : $(PROGRAMS)
|
||||
|
||||
$(OBJECT_PATH)/.placeholder:
|
||||
mkdir -vp $(OBJECT_PATH)
|
||||
touch $(OBJECT_PATH)/.placeholder
|
||||
|
||||
$(OBJECTS) : Stk.h
|
||||
|
||||
clean :
|
||||
|
||||
Reference in New Issue
Block a user