mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
|
|
libqb-objs-y += $(PATH_LIBQB)/src/threading.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/buffer.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/filepath.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/filesystem.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/datetime.o
|
|
libqb-objs-y += $(PATH_LIBQB)/src/rounding.o
|
|
|
|
libqb-objs-$(DEP_HTTP) += $(PATH_LIBQB)/src/http.o
|
|
libqb-objs-y$(DEP_HTTP) += $(PATH_LIBQB)/src/http-stub.o
|
|
|
|
libqb-objs-y += $(PATH_LIBQB)/src/threading-$(PLATFORM).o
|
|
|
|
libqb-objs-y$(DEP_CONSOLE_ONLY) += $(PATH_LIBQB)/src/glut-main-thread.o
|
|
libqb-objs-y$(DEP_CONSOLE_ONLY) += $(PATH_LIBQB)/src/glut-message.o
|
|
libqb-objs-y$(DEP_CONSOLE_ONLY) += $(PATH_LIBQB)/src/glut-msg-queue.o
|
|
|
|
libqb-objs-$(DEP_CONSOLE_ONLY) += $(PATH_LIBQB)/src/console-only-main-thread.o
|
|
|
|
ifeq ($(OS),osx)
|
|
libqb-objs-y$(DEP_CONSOLE_ONLY) += $(PATH_LIBQB)/src/mac-key-monitor.o
|
|
endif
|
|
|
|
$(PATH_LIBQB)/src/%.o: $(PATH_LIBQB)/src/%.cpp
|
|
$(CXX) -O2 $(CXXFLAGS) -Wall $< -c -o $@
|
|
|
|
ifeq ($(OS),osx)
|
|
$(PATH_LIBQB)/src/%.o: $(PATH_LIBQB)/src/%.mm
|
|
$(CXX) -O2 $(CXXFLAGS) -Wall $< -c -o $@
|
|
endif
|
|
|
|
CLEAN_LIST += $(libqb-objs-y) $(libqb-objs-yy) $(libqb-objs-)
|