mirror of
https://github.com/ksherlock/afp.git
synced 2026-04-20 17:20:17 +00:00
fixes for win32 compile
This commit is contained in:
@@ -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 $@ $<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user