Skript file: /~heha/hs/gputils64-210929.zip/Makefile

#Makefile für mingw-64
C = gcc -Ilibgputils -D HAVE_WINDOWS_H -o $@ $(filter %cpp,$^) -lstdc++ -L. -lgputils -Wl,--dll-search-prefix=
U = gputils/*.h  gputils.dll
#-l gputils bindet gputils.dll

all: gpasm.exe gplink.exe gplib.exe gpdasm.exe gpstrip.exe gpvo.exe gpvc.exe

gpasm.exe: gpasm/*.[ch]* $U Makefile
	$C

gplink.exe: gplink/*.[ch]* $U Makefile
	$C

gplib.exe: gputils/gplib.cpp gputils/labelset.cpp $U Makefile
	$C

gpdasm.exe: gputils/gpdasm.cpp gputils/labelset.cpp gputils/scan.cpp gputils/parse.cpp $U Makefile
	$C

gpstrip.exe: gputils/gpstrip.cpp $U Makefile
	$C

gpvo.exe: gputils/gpvo.cpp $U Makefile
	$C

gpvc.exe: gputils/gpvc.cpp gputils/dump.cpp gputils/block.cpp $U Makefile
	$C

gputils.dll: libgputils/*.[ch]* libiberty/*.[ch]* Makefile
#	gcc -shared -Iinclude -D HAVE_INTTYPES_H -o $@ $(filter %.c %cpp,$^) -liberty
#-l iberty bindet iberty.a von mingw-64
	gcc -shared -Ilibgputils -o $@ $(filter %.c %cpp,$^) -lstdc++
Detected encoding: UTF-80