mirror of
https://github.com/ksherlock/afp.git
synced 2025-05-08 23:48:21 +00:00
fixes for win32 compile
This commit is contained in:
parent
85305dcab9
commit
3e0c6c77fc
10
Makefile
10
Makefile
@ -4,12 +4,9 @@ CPPFLAGS = -I include/afp/
|
|||||||
|
|
||||||
OBJS = o/finder_info.o o/resource_fork.o
|
OBJS = o/finder_info.o o/resource_fork.o
|
||||||
|
|
||||||
# also cygwin...
|
ifeq ($(OS),Windows_NT)
|
||||||
ifeq ($(MSYSTEM),MSYS)
|
|
||||||
OBJS += o/remap_os_error.o
|
OBJS += o/remap_os_error.o
|
||||||
endif
|
else
|
||||||
|
|
||||||
ifneq ($(OS),Windows_NT)
|
|
||||||
OBJS += o/xattr.o
|
OBJS += o/xattr.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -32,4 +29,5 @@ o/%.o: src/%.c | o
|
|||||||
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
o/%.o: src/%.cpp | o
|
o/%.o: src/%.cpp | o
|
||||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user