fixes for win32 compile

This commit is contained in:
Kelvin Sherlock 2017-08-08 21:45:19 -04:00
parent 85305dcab9
commit 3e0c6c77fc

View File

@ -4,12 +4,9 @@ CPPFLAGS = -I include/afp/
OBJS = o/finder_info.o o/resource_fork.o
# also cygwin...
ifeq ($(MSYSTEM),MSYS)
ifeq ($(OS),Windows_NT)
OBJS += o/remap_os_error.o
endif
ifneq ($(OS),Windows_NT)
else
OBJS += o/xattr.o
endif
@ -32,4 +29,5 @@ o/%.o: src/%.c | o
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
o/%.o: src/%.cpp | o
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<