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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
WINE = wine
# Programs
-AR = $(WINE) WLIB
-CC = $(WINE) WCC386
-LD = $(WINE) WLINK
+AR = $(WINE) wlib
+CC = $(WINE) wcc386
+LD = $(WINE) wlink
LIB = common.lib
# Program arguments
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
@echo Done!
wildargv.obj:
- $(CC) $(CFLAGS) $(WATCOM)\\src\\startup\\wildargv.c
+ $(CC) $(CFLAGS) -fo=$@ $(WATCOM)\\src\\startup\\wildargv.c
clean:
@rm -f *~ core
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------
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
# Implicit rules
%.obj: %.c
- $(CC) $(CFLAGS) $^
+ $(CC) $(CFLAGS) -fo=$@ $^
# ------------------------------------------------------------------------------