Skip to content

Commit

Permalink
fixes for win32 compile
Browse files Browse the repository at this point in the history
  • Loading branch information
ksherlock committed Aug 9, 2017
1 parent 85305dc commit 3e0c6c7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 $@ $<

0 comments on commit 3e0c6c7

Please sign in to comment.