diff options
-rw-r--r-- | Makefile | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index e523530..0000000 --- a/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -######################################################### -# -# CSOAP Makefile -# -######################################################### - -SHELL = bash -CC = gcc - - -VPATH = . src - -LIBNAME = libsoap.a -EXLIB = -L. -lsoap - -SOURCE = ${wildcard src/csoap*.c} -OBJECTS = $(addsuffix .o, $(basename $(SOURCE))) - -CFLAGS = `xml2-config --cflags` # -fwritable-strings -CLIBS = `xml2-config --libs` - -lib: $(OBJECTS) - ar -rc $(LIBNAME) $(OBJECTS) - -shared: $(OBJECTS) - gcc --shared -o libsoap.dll $(OBJECTS) `xml2-config --libs` - -example1: lib - $(CC) -Isrc $(CFLAGS) ex1.c -o $@ $(EXLIB) $(CLIBS) - -clean: - -@rm -f src/*.o - -@rm -f $(LIBNAME) - -@rm -f *~ - -@rm -f src/*~
\ No newline at end of file |