qse/ase/test/stx/makefile.lcc

25 lines
491 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-10-02 15:57:36 +00:00
#LDFLAGS = -subsystem console -dynamic -s
LDFLAGS = -subsystem console -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 $<