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_C != find $(CDB) -name *.c
|
||||||
CDB_O := $(patsubst %.c, %.o, $(CDB_C))
|
CDB_O := $(patsubst %.c, %.o, $(CDB_C))
|
||||||
$(CDB)/libcdb.a: $(CDB_O)
|
$(CDB)/libcdb.a:
|
||||||
mkdir -p $(BIN)
|
|
||||||
rm -f $(CDB)/libcdb.a
|
rm -f $(CDB)/libcdb.a
|
||||||
make -C $(CDB) libcdb.a
|
make -C $(CDB) libcdb.a
|
||||||
|
|
||||||
|
@ -327,7 +326,7 @@ crossmac:
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning project
|
@echo Cleaning project
|
||||||
rm -rf bin dist
|
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
|
rm -f $(CDB)/*.o
|
||||||
@make -C quickjs clean
|
@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=
|
DESTDIR=
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
CFLAGS = -O
|
CFLAGS = -O2
|
||||||
CDEFS = -D_FILE_OFFSET_BITS=64
|
CDEFS = -D_FILE_OFFSET_BITS=64
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
Loading…
Reference in a new issue