From e538c727c648653412ced9f79b45edda91ab89b1 Mon Sep 17 00:00:00 2001 From: Sacheendra Talluri Date: Wed, 25 Jan 2017 12:31:42 +0100 Subject: get dependencies from the dependencies repo --- Simulator/makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'Simulator') diff --git a/Simulator/makefile b/Simulator/makefile index 52386dab..7bcf4848 100644 --- a/Simulator/makefile +++ b/Simulator/makefile @@ -18,21 +18,12 @@ src/modeling/Rack.cpp all: sqlite simulator clean: - rm -rf simulator external/ + rm -f simulator sqlite3.o simulator: - $(CXX) -o simulator -Iexternal $(SOURCE) $(CFLAGS) + $(CXX) -o simulator $(SOURCE) $(CFLAGS) -sqlite: - cd ../external/sqlite ; \ - git rev-parse --git-dir >/dev/null || exit 1 ; \ - git log -1 --format=format:%ci%n | sed -e 's/ [-+].*$//;s/ /T/;s/^/D /' > manifest ; \ - echo $(git log -1 --format=format:%H) > manifest.uuid - mkdir external - cd external ; \ - ./../../external/sqlite/configure --disable-tcl ; \ - make sqlite3.o - mv external/sqlite3.o sqlite3.o - rm -rf external/ +sqlite: + $(CC) -o sqlite3.o -c ../opendc-simulator-dependencies/sqlite/sqlite3.c .PHONY: all, clean \ No newline at end of file -- cgit v1.2.3