diff --git a/ase/stx/makefile.tcc b/ase/stx/makefile.tcc index 40c85a7b..950eff5a 100644 --- a/ase/stx/makefile.tcc +++ b/ase/stx/makefile.tcc @@ -3,11 +3,12 @@ SRCS = \ OBJS = $(SRCS:.c=.obj) OUT = xpstx.lib -CC = \tc\tcc +TC = \dos\tcc +CC = $(TC)\tcc CFLAGS = -I..\.. -D_DOS -ml -w all: $(OBJS) - \tc\tlib $(OUT) @&&! + $(TC)\tlib $(OUT) @&&! +-$(**: = &^ +-) ! diff --git a/ase/test/stx/makefile.lcc b/ase/test/stx/makefile.lcc index 6b7f82ed..74a72c70 100644 --- a/ase/test/stx/makefile.lcc +++ b/ase/test/stx/makefile.lcc @@ -6,7 +6,7 @@ CC = lcc CFLAGS = -I../../.. -A -ansic -libcdll #LDFLAGS = -L../../../xp/bas -L../../../xp/stx #LIBS = -lxpstx -lxpbas -LDFLAGS = -subsystem console -dynamic +LDFLAGS = -subsystem console -dynamic -s LIBS = ..\..\..\xp\bas\xpbas.lib ..\..\..\xp\stx\xpstx.lib all: $(OBJS) diff --git a/ase/test/stx/makefile.tcc b/ase/test/stx/makefile.tcc index 84139bd2..f944b475 100644 --- a/ase/test/stx/makefile.tcc +++ b/ase/test/stx/makefile.tcc @@ -2,12 +2,13 @@ SRCS = stx.c OBJS = stx.obj OUT = stx.exe -CC = \tc\tcc +TC = \dos\tc +CC = $(TC)\tcc CFLAGS = -I..\..\.. -ml -D_DOS -w -LIBS = \tc\lib\cl.lib \tc\lib\c0l.obj ..\..\..\xp\stx\xpstx.lib +LIBS = $(TC)\lib\cl.lib $(TC)\lib\c0l.obj ..\..\..\xp\stx\xpstx.lib all: $(OBJS) - \tc\tlink $(OBJS),$(OUT),,$(LIBS) + $(TC)\tlink $(OBJS),$(OUT),,$(LIBS) clean: del $(OBJS) *.obj $(OUT)