Fixed up the "make clean" target and used normal Chicken flags for compiling.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Jonah Beckford 2003-03-10 04:49:37 +00:00
commit 4acaeabf2a
8 changed files with 14 additions and 14 deletions

View file

@ -32,7 +32,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c ogifplot.c
rm -f gifplot.scm
rm -f $(TARGET)
rm -f *.gif

View file

@ -32,7 +32,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c osimple.c
rm -f simple.scm
rm -f $(TARGET)
rm -f *.gif

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
CHICKGEN = csi.o precsi.o oexample.o example.cxx example_wrap.cxx
SRCS = $(CHICKGEN)
CHICKGEN = csi.o precsi.o oexample.o example_wrap.cxx
SRCS = $(CHICKGEN) example.cxx
TARGET = class
INCLUDE =
SWIGOPT =
@ -10,7 +10,7 @@ CFLAGS =
all:: $(TARGET) example_generic.scm example_clos.scm
.c.o:
$(MAKE) -f $(TOP)/Makefile CFLAGS='$(CFLAGS)' TARGET='$@' \
$(MAKE) -f $(TOP)/Makefile CFLAGS='$$(CHICKEN_CFLAGS) $(CFLAGS)' TARGET='$@' \
INCLUDE='$(INCLUDE)' INTERFACE='$<' compile
csi.c:
$(MAKE) -f $(TOP)/Makefile TARGET='csi.c' \
@ -35,7 +35,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm example_generic.scm example_clos.scm
rm -f $(TARGET)

View file

@ -31,7 +31,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm
rm -f $(TARGET)

View file

@ -31,7 +31,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm
rm -f $(TARGET)

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../swig
CHICKGEN = csi.o precsi.o oexample.o example.cxx example_wrap.cxx
SRCS = $(CHICKGEN)
CHICKGEN = csi.o precsi.o oexample.o example_wrap.cxx
SRCS = $(CHICKGEN) example.cxx
TARGET = overload
INCLUDE =
SWIGOPT =
@ -10,7 +10,7 @@ CFLAGS =
all:: $(TARGET) example_generic.scm example_clos.scm
.c.o:
$(MAKE) -f $(TOP)/Makefile CFLAGS='$(CFLAGS)' TARGET='$@' \
$(MAKE) -f $(TOP)/Makefile CFLAGS='$$(CHICKEN_CFLAGS) $(CFLAGS)' TARGET='$@' \
INCLUDE='$(INCLUDE)' INTERFACE='$<' compile
csi.c:
@ -36,7 +36,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm example_generic.scm example_clos.scm
rm -f $(TARGET)

View file

@ -31,7 +31,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm
rm -f $(TARGET)

View file

@ -34,7 +34,7 @@ $(TARGET): $(SRCS)
clean::
rm -f *_wrap* *.o core *~ *.so *.stackdump STACKTRACE
rm -f $(CHICKGEN)
rm -f $(CHICKGEN) csi.c precsi.c oexample.c
rm -f example.scm
rm -f $(TARGET)