25 lines
491 B
Plaintext
25 lines
491 B
Plaintext
|
CC = lcc
|
||
|
CFLAGS = -I../../.. -A -ansic -libcdll
|
||
|
#LDFLAGS = -L../../../xp/bas -L../../../xp/stx
|
||
|
#LIBS = -lxpstx -lxpbas
|
||
|
#LDFLAGS = -subsystem console -dynamic -s
|
||
|
LDFLAGS = -subsystem console -s
|
||
|
LIBS = ..\..\..\xp\stx\xpstx.lib ..\..\..\xp\bas\xpbas.lib
|
||
|
|
||
|
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)
|
||
|
|
||
|
|
||
|
clean:
|
||
|
del $(OBJS) *.obj $(OUT)
|
||
|
|
||
|
.SUFFIXES: .c .obj
|
||
|
.c.obj:
|
||
|
$(CC) $(CFLAGS) -c $<
|
||
|
|