]> git.sur5r.net Git - cc65/blobdiff - src/od65/make/watcom.mak
Make the watcom makefiles a bit more openwatcom compatible.
[cc65] / src / od65 / make / watcom.mak
index 25d7eb53de5e1ec07392a1f5e5167516ee55830f..59055254a667c5185ae3cab00a441908e951ac45 100644 (file)
@@ -14,10 +14,10 @@ export WINEDEBUG=fixme-all
 WINE = wine
 
 # Programs
-AR             = $(WINE) WLIB
-CC      = $(WINE) WCC386
-LD             = $(WINE) WLINK
-WSTRIP = $(WINE) WSTRIP -q
+AR             = $(WINE) wlib
+CC      = $(WINE) wcc386
+LD             = $(WINE) wlink
+WSTRIP = $(WINE) wstrip -q
 
 LNKCFG  = ld.tmp
 
@@ -54,7 +54,7 @@ endif
 # Implicit rules
 
 %.obj:  %.c
-       $(CC) $(CFLAGS) $^
+       $(CC) $(CFLAGS) -fo=$@ $^
 
 
 # ------------------------------------------------------------------------------