makefile fixes
This commit is contained in:
parent
1c936cde56
commit
f6efad8263
5
Makefile
5
Makefile
|
@ -226,8 +226,7 @@ $(BIN)/libengine.a: $(OBJS)
|
|||
|
||||
CDB_C != find $(CDB) -name *.c
|
||||
CDB_O := $(patsubst %.c, %.o, $(CDB_C))
|
||||
$(CDB)/libcdb.a: $(CDB_O)
|
||||
mkdir -p $(BIN)
|
||||
$(CDB)/libcdb.a:
|
||||
rm -f $(CDB)/libcdb.a
|
||||
make -C $(CDB) libcdb.a
|
||||
|
||||
|
@ -327,7 +326,7 @@ crossmac:
|
|||
clean:
|
||||
@echo Cleaning project
|
||||
rm -rf bin dist
|
||||
rm -f shaders/*.sglsl.h shaders/*.metal core.cdb jso cdb packer TAGS source/engine/core.cdb.h tools/libcdb.a
|
||||
rm -f shaders/*.sglsl.h shaders/*.metal core.cdb jso cdb packer TAGS source/engine/core.cdb.h tools/libcdb.a $(CDB)/libcdb.a
|
||||
rm -f $(CDB)/*.o
|
||||
@make -C quickjs clean
|
||||
|
||||
|
|
2
source/engine/thirdparty/tinycdb/Makefile
vendored
2
source/engine/thirdparty/tinycdb/Makefile
vendored
|
@ -18,7 +18,7 @@ NSSCDB_DIR = $(sysconfdir)
|
|||
DESTDIR=
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -O
|
||||
CFLAGS = -O2
|
||||
CDEFS = -D_FILE_OFFSET_BITS=64
|
||||
LD = $(CC)
|
||||
LDFLAGS =
|
||||
|
|
Loading…
Reference in a new issue