2006-01-15 06:51:35 +00:00
|
|
|
CC = lcc
|
2006-04-10 09:33:30 +00:00
|
|
|
CFLAGS = -I../../.. -A -ansic -libcdll
|
2006-01-15 06:51:35 +00:00
|
|
|
#LDFLAGS = -subsystem console -dynamic -s
|
2006-04-10 09:33:30 +00:00
|
|
|
LDFLAGS = -subsystem console -s -L../../../xp/bas -L../../../xp/awk
|
|
|
|
LIBS = xpbas.lib xpawk.lib
|
2006-01-15 06:51:35 +00:00
|
|
|
|
|
|
|
all: awk
|
|
|
|
|
|
|
|
awk: awk.obj
|
|
|
|
lcclnk $(LDFLAGS) -o awk.exe awk.obj $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) *.obj $(OUT)
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|