• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

oga's tools


File Info

Révision d6f35a911265152c0ebe479a6552316ce6024300
Taille 10,091 octets
l'heure 2024-12-28 17:25:55
Auteur hyperoga
Message de Log

change access permission

Content

#
#   Makefile for MinGW
#

#VP   =../bin
VP   = bin
TOOL = .

# for gcc
CC   = gcc
CPP  = g++
OOPT = -O
PSDKLIB=/c/MSPlatformSDK/Lib
PSDKINC=/c/MSPlatformSDK/Include

# for Visual Studio
#CC     = cl
#NOLOGO = $(NOLOGO)
#OOPT   = /O2
#PSDKLIB=C:\MSPlatformSDK\Lib
#PSDKINC=C:\MSPlatformSDK\Include
#MTOPT  = /MT

XLIB = -L/usr/X11R6/lib

# for MinGW gcc 
SJISOPT=-finput-charset=CP932 -fexec-charset=CP932

#---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
TARGETS = $(VP)/age.exe $(VP)/cal.exe $(VP)/cgrep.exe $(VP)/csv2nocr.exe    \
  $(VP)/df.exe $(VP)/dp64.exe $(VP)/dp.exe $(VP)/dsync.exe $(VP)/enews.exe  \
  $(VP)/find2.exe $(VP)/getword.exe $(VP)/hddinit.exe $(VP)/hdinfo.exe      \
  $(VP)/headtail.exe $(VP)/hexdec.exe $(VP)/id3.exe $(VP)/ifchk2.exe        \
  $(VP)/ifchk.exe $(VP)/kanji2.exe $(VP)/kita.exe $(VP)/loto6.exe           \
  $(VP)/mkfile2.exe $(VP)/mkindex.exe $(VP)/path2.exe $(VP)/rw.exe          \
  $(VP)/slow.exe $(VP)/sosu2.exe $(VP)/sosu.exe $(VP)/sosum.exe             \
  $(VP)/stat.exe $(VP)/stereo3d.exe $(VP)/strftime.exe $(VP)/subdecode.exe  \
  $(VP)/tbl2csv.exe $(VP)/tcpan.exe $(VP)/tcpdmpan.exe $(VP)/test64.exe     \
  $(VP)/train.exe $(VP)/u2dos.exe $(VP)/base64.exe $(VP)/ht.exe             \
  $(VP)/du.exe $(VP)/expr2.exe $(VP)/fold2.exe $(VP)/fullpath.exe           \
  $(VP)/getmypath.exe $(VP)/id.exe $(VP)/load.exe $(VP)/malloc.exe          \
  $(VP)/pwd.exe $(VP)/rand2.exe $(VP)/raw.exe $(VP)/readls.exe              \
  $(VP)/rndplay.exe $(VP)/timex.exe $(VP)/uname.exe $(VP)/tee.exe           \
  $(VP)/test64_win.exe $(VP)/getip.exe \
  $(VP)/class.exe $(VP)/cp2.exe $(VP)/deltag.exe $(VP)/hex2bin.exe          \
  $(VP)/hexbin.exe $(VP)/hscp.exe $(VP)/htlink.exe $(VP)/iso2022.exe        \
  $(VP)/kita2.exe $(VP)/othello2.exe $(VP)/peke2.exe $(VP)/peke.exe         \
  $(VP)/perfan.exe $(VP)/strings2.exe $(VP)/t64an.exe $(VP)/tolower.exe     \
  $(VP)/txt2vnt.exe $(VP)/upload.exe $(VP)/wavana.exe $(VP)/wavcut2.exe     \
  $(VP)/wavcut.exe $(VP)/which.exe $(VP)/xalloc.exe $(VP)/zusa.exe          \
  $(VP)/midana.exe $(VP)/lanck.exe $(VP)/sysinfdsrv.exe $(VP)/findwin.exe   \
  $(VP)/getsysm.exe $(VP)/midiapi.exe $(VP)/play.exe $(VP)/sendevt.exe      \
  $(VP)/shutdown.exe $(VP)/sysperf.exe $(VP)/winmidisample.exe              \
  $(VP)/dgclient.exe $(VP)/dgserver.exe $(VP)/netpf.exe                     \
  $(VP)/netpf_send.exe $(VP)/webget.exe $(VP)/addimgdate.exe                \
  $(VP)/head2.exe 

TARGETS_MS = $(VP)/cpuid.exe $(VP)/ctrain.exe $(VP)/df.exe $(VP)/lsc.exe $(VP)/miscclient.exe $(VP)/miscserver.exe $(VP)/sndtimer.exe $(VP)/sysinfd.exe $(VP)/regsv.exe $(VP)/sysinfd_win.exe $(VP)/pcap_test.exe $(VP)/joytest.exe $(VP)/icmpsnd.exe $(VP)/getver.exe $(VP)/dxshow.exe $(VP)/clip.exe $(VP)/readevt.exe $(VP)/midic.exe 

all: $(TARGETS)

init:
	mkdir -p $(VP)

clean:
	rm -f $(TARGETS)

$(VP)/age.exe : age.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/addimgdate.exe : addimgdate.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/base64.exe : base64.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/cal.exe : cal.c
	$(CC) $? $(NOLOGO) -o $@ -DDOS

$(VP)/cgrep.exe : cgrep.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/class.exe : class.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/cp2.exe : cp2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/cpuid.exe : cpuid.c
	$(CC) $? $(NOLOGO) -o $@ -DDOS -U_WIN32

$(VP)/cpuusage.exe : cpuusage.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/csv2nocr.exe : csv2nocr.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/ctrain.exe : ctrain.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/deltag.exe : deltag.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/df.exe : df.c
	$(CC) $? $(NOLOGO) -o $@ -lmpr

$(VP)/dgclient.exe : dgclient.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/dgserver.exe : dgserver.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/dp.exe : dp.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/dp64.exe : dp64.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/dsync.exe : dsync.c
	$(CC) $? $(NOLOGO) -o $@ $(OOPT)

$(VP)/enews.exe : enews.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/find2.exe : find2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/fold2.exe : fold2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/getip.exe : getip.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/getword.exe : getword.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/hddinit.exe : hddinit.c
	$(CC) $? $(NOLOGO) -o $@ $(MTOPT)

$(VP)/hdinfo.exe : hdinfo.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/head2.exe : head.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/headtail.exe : headtail.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/hex2bin.exe : hex2bin.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/hexbin.exe : hexbin.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/hexdec.exe : hexdec.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/hscp.exe : hscp.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/ht.exe : ht.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/htlink.exe : htlink.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/id.exe : id.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/id3.exe : id3.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/ifchk.exe : ifchk.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/ifchk2.exe : ifchk2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/iso2022.exe : iso2022.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/kanji2.exe : kanji2.c
	$(CC) $? $(NOLOGO) -o $@ $(SJISOPT)

$(VP)/kita.exe : kita.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/kita2.exe : kita2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/lanck.exe : lanck.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/loto6.exe : loto6.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/lsc.exe : lsc.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/midana.exe : midana.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32 -lwinmm

$(VP)/midic.exe : midic.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/miscclient.exe : miscclient.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/miscserver.exe : miscserver.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/mkfile2.exe : mkfile2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/mkindex.exe : mkindex.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/netpf.exe : netpf.c
	$(CC) $? $(NOLOGO) -o $@ -DDOS -lwsock32

$(VP)/netpf_send.exe : netpf_send.c
	$(CC) $? $(NOLOGO) -o $@ -DDOS -lwsock32

$(VP)/othello2.exe : othello2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/path2.exe : path2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/peke.exe : peke.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/peke2.exe : peke2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/perfan.exe : perfan.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/pwd.exe : pwd.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/rw.exe : rw.c
	$(CC) $? $(NOLOGO) -DDOS -o $@

$(VP)/slow.exe : slow.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/sndtimer.exe : sndtimer.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/sosu2.exe : sosu2.c
	$(CC) $? $(NOLOGO) -o $@ $(OOPT)

$(VP)/sosu.exe : sosu.c
	$(CC) $? $(NOLOGO) -o $@ $(OOPT)

$(VP)/sosum.exe : sosum.c
	$(CC) $? $(NOLOGO) -o $@ $(OOPT)

$(VP)/stat.exe : stat.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/stereo3d.exe : stereo3d.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/strftime.exe : strftime.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/subdecode.exe : subdecode.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/sysinfd.exe : sysinfd.c
	$(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -lkernel32 -lwsock32

$(VP)/tbl2csv.exe : tbl2csv.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/tcpan.exe : tcpan.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/tcpdmpan.exe : tcpdmpan.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/test64.exe : test64.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/test64_win.exe : test64_win.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/train.exe : train.c
	$(CC) $? $(NOLOGO) -o $@ 

$(VP)/u2dos.exe : u2dos.c
	$(CC) $? $(NOLOGO) -o $@ -DMINGW

$(VP)/clip.exe : clip.cpp
	$(CC) $? $(NOLOGO) -o $@ -luser32 -lmpr

$(VP)/du.exe : du.c
	$(CC) $? $(NOLOGO) -o $@ $(SJISOPT)

$(VP)/dxshow.exe : dxshow.cpp
	$(CC) $? $(NOLOGO) -o $@ -I"I:\Microsoft DirectX 9.0 SDK (December 2004)\Include" Strmiids.lib ole32.lib

$(VP)/expr2.exe : expr2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/findwin.exe : findwin.c
	$(CC) $? $(NOLOGO) -o $@ -luser32

$(VP)/fullpath.exe : fullpath.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/getmypath.exe : getmypath.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/getsysm.exe : getsysm.c
	$(CC) $? $(NOLOGO) -o $@ -luser32

$(VP)/getver.exe : getver.cpp
	$(CC) $? $(NOLOGO) -o $@ -lversion

$(VP)/icmpsnd.exe : icmpsnd.c
	$(CC) $? $(NOLOGO) -o $@ -ID:\MSPlatformSDK\Include D:\MSPlatformSDK\lib\IPHlpApi.Lib wsock32.lib

$(VP)/joytest.exe : joytest.cpp
	$(CC) $? $(NOLOGO) -o $@ dinput.lib dxguid.lib

$(VP)/load.exe : load.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/malloc.exe : malloc.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/midiapi.exe : midiapi.c
	$(CC) $? $(NOLOGO) -o $@ -lwinmm

$(VP)/pcap_test.exe : pcap_test.c
	$(CC) $? $(NOLOGO) -o $@ -Ipcap/Include -DWIN32 -DWPCAP

$(VP)/play.exe : play.c
	$(CC) $? $(NOLOGO) -o $@ -lWinmm

$(VP)/rand2.exe : rand2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/raw.exe : raw.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/readevt.exe : readevt.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/readls.exe : readls.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/regsv.exe : regsv.cpp
	$(CC) $? $(NOLOGO) -o $@ -ladvapi32

$(VP)/rndplay.exe : rndplay.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/sendevt.exe : sendevt.c
	$(CC) $? $(NOLOGO) -o $@ -luser32

$(VP)/shutdown.exe : shutdown.c
	$(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -luser32 -ladvapi32 -lpowrprof

$(VP)/strings2.exe : strings2.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/sysinfdsrv.exe : sysinfdsrv.c
	$(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -lkernel32 -lwsock32 -ladvapi32

$(VP)/sysperf.exe : sysperf.c
	$(CC) $? $(NOLOGO) -o $@ -ladvapi32

$(VP)/t64an.exe : t64an.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/tee.exe : tee.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/timex.exe : timex.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/tolower.exe : tolower.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/txt2vnt.exe : txt2vnt.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/uname.exe : uname.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/upload.exe : upload.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/wavana.exe : wavana.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/wavcut.exe : wavcut.c
	$(CC) $? $(NOLOGO) -o $@ -U_WIN32

$(VP)/wavcut2.exe : wavcut2.c
	$(CC) $? $(NOLOGO) -o $@ -U_WIN32

$(VP)/webget.exe : webget.c
	$(CC) $? $(NOLOGO) -o $@ -lwsock32

$(VP)/which.exe : which.c
	$(CC) $? $(NOLOGO) -o $@ -DDOS -DX68K

$(VP)/winmidisample.exe : winmidisample.c
	$(CC) $? $(NOLOGO) -o $@ -luser32 -lwinmm -lgdi32 -lcomdlg32

$(VP)/xalloc.exe : xalloc.c
	$(CC) $? $(NOLOGO) -o $@

$(VP)/zusa.exe : zusa.c
	$(CC) $? $(NOLOGO) -o $@