From a9f621fd14d507b08b3959df3e912d8265358cd6 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Sat, 26 Jul 2014 20:46:17 +0200 Subject: [PATCH] Added travis support --- nbfi/Makefile | 3 +-- vvm/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nbfi/Makefile b/nbfi/Makefile index 4cd7fa8..a9cb8ce 100644 --- a/nbfi/Makefile +++ b/nbfi/Makefile @@ -1,7 +1,6 @@ override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -std=c99 -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized PREFIX=/usr/bin BUILDDIR=bin/ -CC=gcc-mp-4.9 TARGET=nbfi SOURCES=$(wildcard src/*.c) @@ -9,7 +8,7 @@ SOURCES=$(wildcard src/*.c) #Makes everything all: mkdir $(BUILDDIR) 2> /dev/null || true - $(CC) $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET) + cc $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET) @echo Running tests ./test.sh diff --git a/vvm/Makefile b/vvm/Makefile index ff3b524..84b1126 100644 --- a/vvm/Makefile +++ b/vvm/Makefile @@ -1,7 +1,6 @@ override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -std=c99 -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized PREFIX=/usr/bin BUILDDIR=bin/ -CC=gcc-mp-4.9 TARGET=vvm SOURCES=$(wildcard src/*.c) @@ -9,7 +8,7 @@ SOURCES=$(wildcard src/*.c) #Makes everything all: mkdir $(BUILDDIR) 2> /dev/null || true - $(CC) $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET) + cc $(CFLAGS) $(SOURCES) -o $(BUILDDIR)$(TARGET) #Uses picky extensions and makes everything(Extensions may break compiling) dev: