Makefile
changeset 69 546a95cc5591
parent 60 e5aade8e1b3f
child 71 105bdb041c03
--- a/Makefile	Thu Aug 23 15:22:52 2001 +0000
+++ b/Makefile	Thu Aug 23 15:23:21 2001 +0000
@@ -165,7 +165,7 @@
 
 TESTSRCS := test/test_physfs.c
 
-MAINSRCS := physfs.c platform/unix.c archivers/dir.c
+MAINSRCS := physfs.c archivers/dir.c
 
 ifeq ($(strip $(use_archive_zip)),true)
 MAINSRCS += archivers/zip.c archivers/unzip.c
@@ -178,6 +178,12 @@
 CFLAGS += -DPHYSFS_SUPPORTS_GRP
 endif
 
+ifeq ($(strip $(cygwin)),true)
+MAINSRCS += platform/win32.c
+else
+MAINSRCS += platform/unix.c
+endif
+
 TESTEXE := $(BINDIR)/test_physfs$(EXE_EXT)
 
 # Rule for getting list of objects from source
@@ -269,6 +275,7 @@
 	@echo "Building DLLs  : $(build_dll)"
 	@echo "Install prefix : $(install_prefix)"
 	@echo "PhysFS version : $(VERFULL)"
+	@echo "Supports .GRP  : $(use_archive_grp)"
 	@echo "Supports .ZIP  : $(use_archive_zip)"
 
 #-----------------------------------------------------------------------------#