2005-05-10 16:08:10 +00:00
|
|
|
SRCS = stx.c
|
|
|
|
OBJS = stx.obj
|
|
|
|
OUT = stx.exe
|
|
|
|
|
|
|
|
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-05-10 16:08:10 +00:00
|
|
|
LIBS = ..\..\..\xp\bas\xpbas.lib ..\..\..\xp\stx\xpstx.lib
|
|
|
|
|
|
|
|
all: $(OBJS)
|
2005-05-19 16:41:10 +00:00
|
|
|
lcclnk $(LDFLAGS) -o $(OUT) $(OBJS) $(LIBS)
|
2005-05-10 16:08:10 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) *.obj $(OUT)
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|