mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 15:10:18 +00:00
18 lines
505 B
Makefile
18 lines
505 B
Makefile
|
|
FREEGLUT_SRCS := $(wildcard $(PATH_INTERNAL_C)/parts/core/src/*.c)
|
|
FREEGLUT_OBJS := $(FREEGLUT_SRCS:.c=.o)
|
|
|
|
FREEGLUT_LIB := $(PATH_INTERNAL_C)/parts/core/src.a
|
|
|
|
$(PATH_INTERNAL_C)/parts/core/src/%.o: $(PATH_INTERNAL_C)/parts/core/src/%.c
|
|
$(CC) -O2 -c $< -o $@
|
|
|
|
$(FREEGLUT_LIB): $(FREEGLUT_OBJS)
|
|
$(AR) rcs $@ $(FREEGLUT_OBJS)
|
|
|
|
QB_CORE_LIB := $(FREEGLUT_LIB)
|
|
|
|
CXXFLAGS += -I$(PATH_INTERNAL_C)/parts/core/src/ -I$(PATH_INTERNAL_C)/parts/core/glew/include/
|
|
|
|
CLEAN_LIST += $(FREEGLUT_LIB) $(FREEGLUT_OBJS)
|
|
|