diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-05 17:21:36 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-05 17:21:36 +0200 |
| commit | 203ee5997bf80d4386b7b9fcd17365763c36e0ad (patch) | |
| tree | edc19cae4563f5265460569a8796d6ba8c3533cb /Makefile | |
| download | gensvm-203ee5997bf80d4386b7b9fcd17365763c36e0ad.tar.gz gensvm-203ee5997bf80d4386b7b9fcd17365763c36e0ad.zip | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f400f2c --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +VERSION=0.1 +CC=gcc +CFLAGS=-Wall -O2 -DVERSION=$(VERSION) -g +INCLUDE= -Iinclude/ +EXECS=trainMSVMMaj + +.PHONY: all clean tar + +all: $(EXECS) + +override LDFLAGS+=-lblas -llapack -lm + +trainMSVMMaj: src/trainMSVMMaj.c src/libMSVMMaj.o src/util.o + $(CC) -o trainMSVMMaj src/trainMSVMMaj.c src/libMSVMMaj.o src/util.o $(CFLAGS) $(INCLUDE) $(LDFLAGS) + +src/libMSVMMaj.o: + $(CC) -c -o src/libMSVMMaj.o src/libMSVMMaj.c $(CFLAGS) $(INCLUDE) + +src/util.o: + $(CC) -c -o src/util.o src/util.c $(CFLAGS) $(INCLUDE) + +clean: + rm -rf $(EXECS) *.o src/*.o |
