Makefile
changeset 22 49f6101707b4
parent 21 b1ea58d70a56
child 34 86c247b7be8d
equal deleted inserted replaced
21:b1ea58d70a56 22:49f6101707b4
   141 MAINSRCS := physfs.c platform/unix.c archivers/dir.c
   141 MAINSRCS := physfs.c platform/unix.c archivers/dir.c
   142 
   142 
   143 ifeq ($(strip $(use_archive_zip)),true)
   143 ifeq ($(strip $(use_archive_zip)),true)
   144 MAINSRCS += archivers/zip.c
   144 MAINSRCS += archivers/zip.c
   145 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
   145 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
       
   146 endif
       
   147 
       
   148 ifeq ($(strip $(use_archive_grp)),true)
       
   149 MAINSRCS += archivers/grp.c
       
   150 CFLAGS += -DPHYSFS_SUPPORTS_GRP
   146 endif
   151 endif
   147 
   152 
   148 # Rule for getting list of objects from source
   153 # Rule for getting list of objects from source
   149 MAINOBJS1 := $(MAINSRCS:.c=.o)
   154 MAINOBJS1 := $(MAINSRCS:.c=.o)
   150 MAINOBJS2 := $(MAINOBJS1:.cpp=.o)
   155 MAINOBJS2 := $(MAINOBJS1:.cpp=.o)