2006-01-15 06:51:35 +00:00
|
|
|
CC = lcc
|
2006-01-20 16:10:16 +00:00
|
|
|
CFLAGS = -I../../.. -A -ansic -libcdll -D__STAND_ALONE
|
2006-01-15 06:51:35 +00:00
|
|
|
#LDFLAGS = -subsystem console -dynamic -s
|
2006-03-15 15:34:59 +00:00
|
|
|
LDFLAGS = -subsystem console -s -L../../../xp/awk
|
|
|
|
LIBS = 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 $<
|
|
|
|
|