qse/ase/test/stx/makefile.lcc

24 lines
457 B
Plaintext
Raw Normal View History

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-05-10 16:08:10 +00:00
LIBS = ..\..\..\xp\bas\xpbas.lib ..\..\..\xp\stx\xpstx.lib
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 $<