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:
parent
69cbf4251c
commit
4acaeabf2a
8 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue