mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Make build on Windows (again).
This commit is contained in:
20
dep/emu/build.mk
Normal file
20
dep/emu/build.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
ifeq ($(OS), Windows_NT)
|
||||
|
||||
EMU_SRCS = \
|
||||
dep/emu/fnmatch.c
|
||||
|
||||
EMU_OBJS = $(patsubst %.c, $(OBJDIR)/%.o, $(EMU_SRCS))
|
||||
$(EMU_OBJS): CFLAGS += -Idep/emu
|
||||
EMU_LIB = $(OBJDIR)/libemu.a
|
||||
$(EMU_LIB): $(EMU_OBJS)
|
||||
EMU_CFLAGS = -Idep/emu
|
||||
EMU_LDFLAGS = $(EMU_LIB)
|
||||
|
||||
else
|
||||
|
||||
EMU_LIB =
|
||||
EMU_CFLAGS =
|
||||
EMU_LDFLAGS =
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user