Ticket #8559: sword2_clue.diff

File sword2_clue.diff, 890 bytes (added by eriktorbjorn, 16 years ago)

Patch for the tools Makefile

  • Makefile

     
    3535        extract_mm_nes$(EXEEXT) \
    3636        extract_scumm_mac$(EXEEXT) \
    3737        extract_simon1_amiga$(EXEEXT) \
    38         extract_zak_c64$(EXEEXT)
     38        extract_zak_c64$(EXEEXT) \
     39        sword2_clue$(EXEEXT) \
    3940
    4041UTILS := \
    4142        utils/adpcm.o \
     
    107108compress_kyra$(EXEEXT): compress_kyra.o compress.o util.o
    108109        $(CXX) $(LDFLAGS) -o $@ $+
    109110
     111# sword2_clue needs GTK+ both for compiling and linking
     112sword2_clue.o: sword2_clue.c util.h
     113        $(CC) $(CFLAGS) $(CPPFLAGS) `pkg-config --cflags gtk+-2.0` -c $(<) -o $*.o
    110114
     115sword2_clue$(EXEEXT): sword2_clue.o util.o
     116        $(CC) $(LDFLAGS) `pkg-config --libs gtk+-2.0` -o $@ $+
     117
     118
    111119descumm.o descumm6.o descumm-common.o descumm-tool.o: descumm.h
    112120
    113121# Most compress_* tools (except for compress_queen) use compress.h