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.
36 lines
1.8 KiB
36 lines
1.8 KiB
--- src/Makefile.common.old 2010-09-30 06:12:23.000000000 +0200
|
|
+++ src/Makefile.common 2010-09-30 06:15:22.000000000 +0200
|
|
@@ -68,25 +68,25 @@
|
|
mkutils:: dumpsavegame$(EXEEXT) lzwenc$(EXEEXT) lzwdec$(EXEEXT) rleenc$(EXEEXT) rledec$(EXEEXT) tlkconv$(EXEEXT)
|
|
|
|
$(MAIN): $(OBJS)
|
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
dumpsavegame$(EXEEXT) : util/dumpsavegame.o savegame.o io.o names.o
|
|
- $(CC) $(CFLAGS) -o dumpsavegame util/dumpsavegame.o savegame.o io.o names.o
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o dumpsavegame util/dumpsavegame.o savegame.o io.o names.o
|
|
|
|
lzwenc$(EXEEXT) : util/lzwenc.o lzw/hash.o util/pngconv.o
|
|
- $(CC) $(CFLAGS) -o lzwenc util/lzwenc.o lzw/hash.o util/pngconv.o -lpng -lz
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o lzwenc util/lzwenc.o lzw/hash.o util/pngconv.o -lpng -lz
|
|
|
|
lzwdec$(EXEEXT) : util/lzwdec.o lzw/lzw.o lzw/u4decode.o lzw/hash.o util/pngconv.o
|
|
- $(CC) $(CFLAGS) -o lzwdec util/lzwdec.o lzw/lzw.o lzw/u4decode.o lzw/hash.o util/pngconv.o -lpng -lz
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o lzwdec util/lzwdec.o lzw/lzw.o lzw/u4decode.o lzw/hash.o util/pngconv.o -lpng -lz
|
|
|
|
rleenc$(EXEEXT) : util/rleenc.o util/pngconv.o
|
|
- $(CC) $(CFLAGS) -o rleenc util/rleenc.o util/pngconv.o -lpng -lz
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o rleenc util/rleenc.o util/pngconv.o -lpng -lz
|
|
|
|
rledec$(EXEEXT) : util/rledec.o rle.o util/pngconv.o
|
|
- $(CC) $(CFLAGS) -o rledec util/rledec.o rle.o util/pngconv.o -lpng -lz
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o rledec util/rledec.o rle.o util/pngconv.o -lpng -lz
|
|
|
|
tlkconv$(EXEEXT) : util/tlkconv.o
|
|
- $(CC) $(CFLAGS) -o tlkconv util/tlkconv.o $(shell xml2-config --libs)
|
|
+ $(CC) $(LDFLAGS) $(CFLAGS) -o tlkconv util/tlkconv.o $(shell xml2-config --libs)
|
|
|
|
clean:: cleanutil
|
|
rm -rf *~ */*~ $(OBJS) $(MAIN)
|