You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-fla...

31 lines
1.1 KiB

Index: src/Makefile
===================================================================
--- Makefile (revision 16)
+++ Makefile (working copy)
@@ -8,7 +8,7 @@
all: $(OUT)
$(OUT): vfs_archive_reader.c libfex.a
- $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a $(LDFLAGS) -o $(OUT)
+ $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a -o $(OUT) $(LDFLAGS)
libfex.a: libfex
mv fex/libfex.a .
Index: src/fex/makefile
===================================================================
--- fex/makefile (revision 16)
+++ fex/makefile (working copy)
@@ -4,9 +4,9 @@
all: libfex.a demo
libfex.a: fex/fex.h fex/blargg_config.h
- cd fex;$(CXX) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
- cd unrar;$(CXX) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
- cd 7z_C;$(CC) -c -Os *.c -fPIC
+ cd fex;$(CXX) $(CXXFLAGS) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
+ cd unrar;$(CXX) $(CXXFLAGS) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
+ cd 7z_C;$(CC) $(CFLAGS) -c -Os *.c -fPIC
$(AR) $(ARFLAGS) libfex.a fex/*.o unrar/*.o 7z_C/*.o
-ranlib libfex.a
-$(RM) fex/*.o