mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 15:10:18 +00:00
18 lines
604 B
Makefile
18 lines
604 B
Makefile
|
|
MINIZ_SRCS := \
|
|
miniz.c
|
|
|
|
COMPRESSION_SRCS := \
|
|
compression.cpp
|
|
|
|
MINIZ_OBJS := $(patsubst %.c,$(PATH_INTERNAL_C)/parts/compression/%.o,$(MINIZ_SRCS))
|
|
|
|
COMPRESSION_OBJS := $(patsubst %.cpp,$(PATH_INTERNAL_C)/parts/compression/%.o,$(COMPRESSION_SRCS))
|
|
|
|
$(PATH_INTERNAL_C)/parts/compression/%.o: $(PATH_INTERNAL_C)/parts/compression/%.c
|
|
$(CC) -O2 $(CFLAGS) -DDEPENDENCY_CONSOLE_ONLY -Wall $< -c -o $@
|
|
|
|
$(PATH_INTERNAL_C)/parts/compression/%.o: $(PATH_INTERNAL_C)/parts/compression/%.cpp
|
|
$(CXX) -O2 $(CXXFLAGS) -DDEPENDENCY_CONSOLE_ONLY -Wall $< -c -o $@
|
|
|
|
CLEAN_LIST += $(MINIZ_OBJS) $(COMPRESSION_OBJS)
|