Audio plugin host https://kx.studio/carla
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.

Makefile.win32 852B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/Makefile -f
  2. CC ?= gcc
  3. WINDRES ?= windres
  4. BUILD_FLAGS = -DSFX -DWIN32 -DWINDOWS -DFORCE_UNIX_OVER_WIN32 -I. -I.. $(CFLAGS) -O2
  5. BUILD_FLAGS += -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE
  6. BUILD_FLAGS += -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
  7. LINK_FLAGS = -static -mwindows -lkernel32 $(LDFLAGS)
  8. OBJ = crc32.o crypt.o extract.o fileio.o globals.o inflate.o match.o process.o ttyio.o ubz2err.o unzip.o zipinfo.o
  9. OBJ += win32/nt.o win32/win32.o win32/win32i64.o
  10. OBJ += unzipfx/appDetails.o
  11. OBJ += icon.o
  12. # -----------------------------
  13. all: unzipfx2cat.exe
  14. unzipfx2cat.exe: $(OBJ)
  15. $(CC) $^ $(LINK_FLAGS) -o $@
  16. icon.o: ../../../resources/ico/carla-control.rc
  17. $(WINDRES) -i $< -o $@ -O coff
  18. clean:
  19. rm -f *~ $(OBJ)
  20. # -----------------------------
  21. .c.o:
  22. $(CC) $< $(BUILD_FLAGS) -c -o $@