From a01eb7445c61057d35d5b6198db3ccec80739499 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 11 Feb 2007 09:18:32 +0000 Subject: [PATCH] *** empty log message *** --- ase/lsp/makefile.lcc | 18 --------------- ase/lsp/{makefile.bcc => makefile.msw.bcc} | 0 ase/lsp/{makefile.cl => makefile.msw.cl} | 0 ase/test/lsp/makefile.in | 22 +++++++++++-------- .../lsp/{makefile.bcc => makefile.msw.bcc} | 0 ase/test/lsp/{makefile.cl => makefile.msw.cl} | 6 ++--- 6 files changed, 16 insertions(+), 30 deletions(-) delete mode 100644 ase/lsp/makefile.lcc rename ase/lsp/{makefile.bcc => makefile.msw.bcc} (100%) rename ase/lsp/{makefile.cl => makefile.msw.cl} (100%) rename ase/test/lsp/{makefile.bcc => makefile.msw.bcc} (100%) rename ase/test/lsp/{makefile.cl => makefile.msw.cl} (68%) diff --git a/ase/lsp/makefile.lcc b/ase/lsp/makefile.lcc deleted file mode 100644 index d5da055d..00000000 --- a/ase/lsp/makefile.lcc +++ /dev/null @@ -1,18 +0,0 @@ -SRCS = name.c token.c array.c prim.c mem.c env.c init.c read.c eval.c print.c -OBJS = name.obj token.obj array.obj prim.obj mem.obj env.obj init.obj read.obj eval.obj print.obj -OUT = aselsp.lib - -CC = lcc -CFLAGS = -I../.. -A -ansic -libcdll -LDFLAGS = -LIBS = - -all: $(OBJS) - lcclib $(OUT) $(OBJS) - -clean: - del $(OBJS) $(OUT) *.obj - -.SUFFIXES: .c .obj -.c.obj: - $(CC) $(CFLAGS) -c $< diff --git a/ase/lsp/makefile.bcc b/ase/lsp/makefile.msw.bcc similarity index 100% rename from ase/lsp/makefile.bcc rename to ase/lsp/makefile.msw.bcc diff --git a/ase/lsp/makefile.cl b/ase/lsp/makefile.msw.cl similarity index 100% rename from ase/lsp/makefile.cl rename to ase/lsp/makefile.msw.cl diff --git a/ase/test/lsp/makefile.in b/ase/test/lsp/makefile.in index 05d05a86..509770ce 100644 --- a/ase/test/lsp/makefile.in +++ b/ase/test/lsp/makefile.in @@ -1,16 +1,20 @@ SRCS = lsp.c -OUTS = $(SRCS:.c=.x) +OBJS = $(SRCS:.c=.o) CC = @CC@ -CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. -LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/lsp -LIBS = @LIBS@ -laselsp +CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. +LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/lsp +LIBS = @LIBS@ -laselsp -lm -all: $(OUTS) +all: aselsp + +aselsp: $(OBJS) + $(CC) -o $@ lsp.o $(LDFLAGS) $(LIBS) clean: - rm -rf $(OUTS) *.o + rm -rf *.o aselsp + +.SUFFIXES: .c .o +.c.o: + $(CC) -c $(CFLAGS) $< -.SUFFIXES: .c .x -.c.x: - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) diff --git a/ase/test/lsp/makefile.bcc b/ase/test/lsp/makefile.msw.bcc similarity index 100% rename from ase/test/lsp/makefile.bcc rename to ase/test/lsp/makefile.msw.bcc diff --git a/ase/test/lsp/makefile.cl b/ase/test/lsp/makefile.msw.cl similarity index 68% rename from ase/test/lsp/makefile.cl rename to ase/test/lsp/makefile.msw.cl index 9f450958..e66327d8 100644 --- a/ase/test/lsp/makefile.cl +++ b/ase/test/lsp/makefile.msw.cl @@ -1,7 +1,7 @@ CC = cl -CFLAGS = /nologo /MT /GX /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\.. -I$(XPKIT) -LDFLAGS = /libpath:..\..\lsp /libpath:$(XPKIT)\xp\bas -LIBS = aselsp.lib xpbas.lib user32.lib +CFLAGS = /nologo /MT /GX /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\.. +LDFLAGS = /libpath:..\..\lsp +LIBS = aselsp.lib user32.lib all: lsp