source: observatorio/simulacion/DB/Makefile @ 6217e66

simulacion
Last change on this file since 6217e66 was 6217e66, checked in by root <root@…>, 10 years ago

Eliminado script sql no utilizado

  • Property mode set to 100644
File size: 592 bytes
Line 
1PQ = /usr/include/postgresql
2
3CXX = g++ -O3 -g
4
5AR = ar
6
7LIBNAME = DbAccess
8
9LOCALLIB = lib$(LIBNAME).a
10
11WARN = -Wall -Wextra -Wcast-align -Wno-sign-compare -Wno-write-strings \
12       -Wno-parentheses -Wno-unused-function
13
14FLAGS = -std=c++0x -DDEBUG -D_GLIBCXX__PTHREADS $(WARN)
15
16INCLUDE = -I . -I $(PQ)
17
18SOURCES = dbProperties.C dbConnection.C dbQuery.C strQuery.C
19
20OBJECTS = dbProperties.o dbConnection.o dbQuery.o strQuery.o
21
22lib:
23        $(RM) $(LOCALLIB)
24        $(CXX) $(INCLUDE) -c $(SOURCES) $(FLAGS)
25        $(AR) -cvq $(LOCALLIB) $(OBJECTS)
26
27clean:
28        $(RM) *~ *.o
29clean-all:
30        $(RM) *~ *.o $(LOCALLIB)
31
Note: See TracBrowser for help on using the repository browser.