2005-05-10 16:08:10 +00:00
|
|
|
CC = lcc
|
2005-05-20 04:06:38 +00:00
|
|
|
CFLAGS = -I../../.. -A -ansic -libcdll
|
2005-05-10 16:08:10 +00:00
|
|
|
#LDFLAGS = -L../../../xp/bas -L../../../xp/stx
|
|
|
|
#LIBS = -lxpstx -lxpbas
|
2005-05-22 07:59:33 +00:00
|
|
|
LDFLAGS = -subsystem console -dynamic -s
|
2005-06-22 15:02:41 +00:00
|
|
|
LIBS = ..\..\..\xp\stx\xpstx.lib ..\..\..\xp\bas\xpbas.lib
|
2005-05-10 16:08:10 +00:00
|
|
|
|
2005-06-05 05:27:02 +00:00
|
|
|
all: stx parser
|
|
|
|
|
|
|
|
stx: stx.obj
|
|
|
|
lcclnk $(LDFLAGS) -o stx.exe stx.obj $(LIBS)
|
|
|
|
|
|
|
|
parser: parser.obj
|
|
|
|
lcclnk $(LDFLAGS) -o parser.exe parser.obj $(LIBS)
|
|
|
|
|
2005-05-10 16:08:10 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) *.obj $(OUT)
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|