• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

oga's tools


Commit MetaInfo

Revision6009d01a66f1f35d561593fcec616334cbfc5351 (tree)
Zeit2014-02-22 01:47:48
Autoroga <hyperoga@gmai...>
Commiteroga

Log Message

add commands, use winlib

Ändern Zusammenfassung

Diff

--- a/Makefile.win_mingw
+++ b/Makefile.win_mingw
@@ -28,7 +28,7 @@ SJISOPT=-finput-charset=CP932 -fexec-charset=CP932
2828
2929 #---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
3030 TARGETS = $(VP)/age.exe $(VP)/cal.exe $(VP)/cgrep.exe $(VP)/csv2nocr.exe \
31- $(VP)/dp64.exe $(VP)/dp.exe $(VP)/dsync.exe $(VP)/enews.exe \
31+ $(VP)/df.exe $(VP)/dp64.exe $(VP)/dp.exe $(VP)/dsync.exe $(VP)/enews.exe \
3232 $(VP)/find2.exe $(VP)/getword.exe $(VP)/hddinit.exe $(VP)/hdinfo.exe \
3333 $(VP)/headtail.exe $(VP)/hexdec.exe $(VP)/id3.exe $(VP)/ifchk2.exe \
3434 $(VP)/ifchk.exe $(VP)/kanji2.exe $(VP)/kita.exe $(VP)/loto6.exe \
@@ -41,15 +41,19 @@ TARGETS = $(VP)/age.exe $(VP)/cal.exe $(VP)/cgrep.exe $(VP)/csv2nocr.exe \
4141 $(VP)/getmypath.exe $(VP)/id.exe $(VP)/load.exe $(VP)/malloc.exe \
4242 $(VP)/pwd.exe $(VP)/rand2.exe $(VP)/raw.exe $(VP)/readls.exe \
4343 $(VP)/rndplay.exe $(VP)/timex.exe $(VP)/uname.exe $(VP)/tee.exe \
44- $(VP)/test64_win.exe \
44+ $(VP)/test64_win.exe $(VP)/getip.exe \
4545 $(VP)/class.exe $(VP)/cp2.exe $(VP)/deltag.exe $(VP)/hex2bin.exe \
4646 $(VP)/hexbin.exe $(VP)/hscp.exe $(VP)/htlink.exe $(VP)/iso2022.exe \
4747 $(VP)/kita2.exe $(VP)/othello2.exe $(VP)/peke2.exe $(VP)/peke.exe \
4848 $(VP)/perfan.exe $(VP)/strings2.exe $(VP)/t64an.exe $(VP)/tolower.exe \
4949 $(VP)/txt2vnt.exe $(VP)/upload.exe $(VP)/wavana.exe $(VP)/wavcut2.exe \
50- $(VP)/wavcut.exe $(VP)/which.exe $(VP)/xalloc.exe $(VP)/zusa.exe
50+ $(VP)/wavcut.exe $(VP)/which.exe $(VP)/xalloc.exe $(VP)/zusa.exe \
51+ $(VP)/midana.exe $(VP)/lanck.exe $(VP)/sysinfdsrv.exe $(VP)/findwin.exe \
52+ $(VP)/getsysm.exe $(VP)/midiapi.exe $(VP)/play.exe $(VP)/sendevt.exe \
53+ $(VP)/shutdown.exe $(VP)/sysperf.exe $(VP)/winmidisample.exe \
54+ $(VP)/dgclient.exe $(VP)/dgserver.exe
5155
52-TARGETS_MS = $(VP)/cpuid.exe $(VP)/ctrain.exe $(VP)/df.exe $(VP)/dgclient.exe $(VP)/dgserver.exe $(VP)/getip.exe $(VP)/lanck.exe $(VP)/lsc.exe $(VP)/midana.exe $(VP)/miscclient.exe $(VP)/miscserver.exe $(VP)/netpf.exe $(VP)/sndtimer.exe $(VP)/sysinfd.exe $(VP)/regsv.exe $(VP)/sendevt.exe $(VP)/shutdown.exe $(VP)/sysinfdsrv.exe $(VP)/sysinfd_win.exe $(VP)/sysperf.exe $(VP)/winmidisample.exe $(VP)/midiapi.exe $(VP)/pcap_test.exe $(VP)/play.exe $(VP)/joytest.exe $(VP)/icmpsnd.exe $(VP)/getver.exe $(VP)/getsysm.exe $(VP)/findwin.exe $(VP)/dxshow.exe $(VP)/clip.exe $(VP)/readevt.exe $(VP)/midic.exe
56+TARGETS_MS = $(VP)/cpuid.exe $(VP)/ctrain.exe $(VP)/df.exe $(VP)/lsc.exe $(VP)/miscclient.exe $(VP)/miscserver.exe $(VP)/netpf.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
5357
5458 all: $(TARGETS)
5559
@@ -93,13 +97,13 @@ $(VP)/deltag.exe : deltag.c
9397 $(CC) $? $(NOLOGO) -o $@
9498
9599 $(VP)/df.exe : df.c
96- $(CC) $? $(NOLOGO) -o $@ mpr.lib
100+ $(CC) $? $(NOLOGO) -o $@ -lmpr
97101
98102 $(VP)/dgclient.exe : dgclient.c
99- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
103+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
100104
101105 $(VP)/dgserver.exe : dgserver.c
102- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
106+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
103107
104108 $(VP)/dp.exe : dp.c
105109 $(CC) $? $(NOLOGO) -o $@
@@ -120,7 +124,7 @@ $(VP)/fold2.exe : fold2.c
120124 $(CC) $? $(NOLOGO) -o $@
121125
122126 $(VP)/getip.exe : getip.c
123- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
127+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
124128
125129 $(VP)/getword.exe : getword.c
126130 $(CC) $? $(NOLOGO) -o $@
@@ -177,7 +181,7 @@ $(VP)/kita2.exe : kita2.c
177181 $(CC) $? $(NOLOGO) -o $@
178182
179183 $(VP)/lanck.exe : lanck.c
180- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
184+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
181185
182186 $(VP)/loto6.exe : loto6.c
183187 $(CC) $? $(NOLOGO) -o $@
@@ -186,16 +190,16 @@ $(VP)/lsc.exe : lsc.c
186190 $(CC) $? $(NOLOGO) -o $@
187191
188192 $(VP)/midana.exe : midana.c
189- $(CC) $? $(NOLOGO) -o $@ wsock32.lib winmm.lib
193+ $(CC) $? $(NOLOGO) -o $@ -lwsock32 -lwinmm
190194
191195 $(VP)/midic.exe : midic.c
192196 $(CC) $? $(NOLOGO) -o $@
193197
194198 $(VP)/miscclient.exe : miscclient.c
195- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
199+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
196200
197201 $(VP)/miscserver.exe : miscserver.c
198- $(CC) $? $(NOLOGO) -o $@ wsock32.lib
202+ $(CC) $? $(NOLOGO) -o $@ -lwsock32
199203
200204 $(VP)/mkfile2.exe : mkfile2.c
201205 $(CC) $? $(NOLOGO) -o $@
@@ -255,7 +259,7 @@ $(VP)/subdecode.exe : subdecode.c
255259 $(CC) $? $(NOLOGO) -o $@
256260
257261 $(VP)/sysinfd.exe : sysinfd.c
258- $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) $(PSDKLIB)\kernel32.lib wsock32.lib
262+ $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -lkernel32 -lwsock32
259263
260264 $(VP)/tbl2csv.exe : tbl2csv.c
261265 $(CC) $? $(NOLOGO) -o $@
@@ -276,10 +280,10 @@ $(VP)/train.exe : train.c
276280 $(CC) $? $(NOLOGO) -o $@
277281
278282 $(VP)/u2dos.exe : u2dos.c
279- $(CC) $? $(NOLOGO) -o $@
283+ $(CC) $? $(NOLOGO) -o $@ -DMINGW
280284
281285 $(VP)/clip.exe : clip.cpp
282- $(CC) $? $(NOLOGO) -o $@ user32.lib mpr.lib
286+ $(CC) $? $(NOLOGO) -o $@ -luser32 -lmpr
283287
284288 $(VP)/du.exe : du.c
285289 $(CC) $? $(NOLOGO) -o $@ $(SJISOPT)
@@ -291,7 +295,7 @@ $(VP)/expr2.exe : expr2.c
291295 $(CC) $? $(NOLOGO) -o $@
292296
293297 $(VP)/findwin.exe : findwin.c
294- $(CC) $? $(NOLOGO) -o $@ user32.lib
298+ $(CC) $? $(NOLOGO) -o $@ -luser32
295299
296300 $(VP)/fullpath.exe : fullpath.c
297301 $(CC) $? $(NOLOGO) -o $@
@@ -300,10 +304,10 @@ $(VP)/getmypath.exe : getmypath.c
300304 $(CC) $? $(NOLOGO) -o $@
301305
302306 $(VP)/getsysm.exe : getsysm.c
303- $(CC) $? $(NOLOGO) -o $@ user32.lib
307+ $(CC) $? $(NOLOGO) -o $@ -luser32
304308
305309 $(VP)/getver.exe : getver.cpp
306- $(CC) $? $(NOLOGO) -o $@ version.lib
310+ $(CC) $? $(NOLOGO) -o $@ -lversion
307311
308312 $(VP)/icmpsnd.exe : icmpsnd.c
309313 $(CC) $? $(NOLOGO) -o $@ -ID:\MSPlatformSDK\Include D:\MSPlatformSDK\lib\IPHlpApi.Lib wsock32.lib
@@ -318,13 +322,13 @@ $(VP)/malloc.exe : malloc.c
318322 $(CC) $? $(NOLOGO) -o $@
319323
320324 $(VP)/midiapi.exe : midiapi.c
321- $(CC) $? $(NOLOGO) -o $@ winmm.lib
325+ $(CC) $? $(NOLOGO) -o $@ -lwinmm
322326
323-pcap_test.exe : pcap_test.c
324- $(CC) $? $(NOLOGO) -o $@ -Ipcap/Include /DWIN32 /DWPCAP
327+$(VP)/pcap_test.exe : pcap_test.c
328+ $(CC) $? $(NOLOGO) -o $@ -Ipcap/Include -DWIN32 -DWPCAP
325329
326330 $(VP)/play.exe : play.c
327- $(CC) $? $(NOLOGO) -o $@ Winmm.lib
331+ $(CC) $? $(NOLOGO) -o $@ -lWinmm
328332
329333 $(VP)/rand2.exe : rand2.c
330334 $(CC) $? $(NOLOGO) -o $@
@@ -339,25 +343,25 @@ $(VP)/readls.exe : readls.c
339343 $(CC) $? $(NOLOGO) -o $@
340344
341345 $(VP)/regsv.exe : regsv.cpp
342- $(CC) $? $(NOLOGO) -o $@ advapi32.lib
346+ $(CC) $? $(NOLOGO) -o $@ -ladvapi32
343347
344348 $(VP)/rndplay.exe : rndplay.c
345349 $(CC) $? $(NOLOGO) -o $@
346350
347351 $(VP)/sendevt.exe : sendevt.c
348- $(CC) $? $(NOLOGO) -o $@ user32.lib
352+ $(CC) $? $(NOLOGO) -o $@ -luser32
349353
350354 $(VP)/shutdown.exe : shutdown.c
351- $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) user32.lib advapi32.lib $(PSDKLIB)\powrprof.lib
355+ $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -luser32 -ladvapi32 -lpowrprof
352356
353357 $(VP)/strings2.exe : strings2.c
354358 $(CC) $? $(NOLOGO) -o $@
355359
356360 $(VP)/sysinfdsrv.exe : sysinfdsrv.c
357- $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) $(PSDKLIB)\kernel32.lib wsock32.lib advapi32.lib
361+ $(CC) $? $(NOLOGO) -o $@ -I$(PSDKINC) -lkernel32 -lwsock32 -ladvapi32
358362
359363 $(VP)/sysperf.exe : sysperf.c
360- $(CC) $? $(NOLOGO) -o $@ advapi32.lib
364+ $(CC) $? $(NOLOGO) -o $@ -ladvapi32
361365
362366 $(VP)/t64an.exe : t64an.c
363367 $(CC) $? $(NOLOGO) -o $@
@@ -396,7 +400,7 @@ $(VP)/xalloc.exe : xalloc.c
396400 $(CC) $? $(NOLOGO) -o $@
397401
398402 $(VP)/winmidisample.exe : winmidisample.c
399- $(CC) $? $(NOLOGO) -o $@ user32.lib winmm.lib gdi32.lib comdlg32.lib
403+ $(CC) $? $(NOLOGO) -o $@ -luser32 -lwinmm -lgdi32 -lcomdlg32
400404
401405 $(VP)/zusa.exe : zusa.c
402406 $(CC) $? $(NOLOGO) -o $@