Add initial bits for Qt6 support
[carla.git] / source / modules / Makefile.mk
blob26a8e14fda2ce718a4bfb483a37762bb6442273f
1 #!/usr/bin/make -f
2 # Makefile for carla modules #
3 # -------------------------- #
4 # Created by falkTX
7 ifeq ($(CWD),)
8 $(error CWD not defined)
9 endif
10 ifeq ($(MODULENAME),)
11 $(error MODULENAME not defined)
12 endif
14 include $(CWD)/Makefile.mk
16 # ---------------------------------------------------------------------------------------------------------------------
18 BINDIR := $(CWD)/../bin
20 ifeq ($(DEBUG),true)
21 OBJDIR := $(CWD)/../build/$(MODULENAME)/Debug
22 MODULEDIR := $(CWD)/../build/modules/Debug
23 else
24 OBJDIR := $(CWD)/../build/$(MODULENAME)/Release
25 MODULEDIR := $(CWD)/../build/modules/Release
26 endif
28 # ---------------------------------------------------------------------------------------------------------------------
30 BUILD_C_FLAGS += -I. -I$(CWD)/includes
31 BUILD_CXX_FLAGS += -I. -I$(CWD)/includes -I$(CWD)/utils
33 # ---------------------------------------------------------------------------------------------------------------------