db_bridge/Makefile
changeset 66 2b4f786d9073
parent 20 5fec678f931b
equal deleted inserted replaced
65:76514757b0d6 66:2b4f786d9073
     1 CC=g++
     1       CC = g++
     2 CFLAGS=-Wall -O2 -ansi -Iinclude
     2   CFLAGS = -Wall -O2 -ansi -Iinclude
     3 TARGET=\
       
     4 	mysql_db \
       
     5 	postgresql_db
       
     6 
     3 
     7 OBJECTS=\
     4  TARGET += mysql_db
     8 	main.o \
     5  TARGET += postgresql_db
     9 	console.o
     6 
       
     7 OBJECTS  = main.o
       
     8 OBJECTS += console.o
    10 
     9 
    11 .SUFFIXES: .cpp
    10 .SUFFIXES: .cpp
    12 
    11 
    13 .cpp.o:
    12 .cpp.o:
    14 	$(CC) -c $(CFLAGS) $<
    13 	$(CC) -c $(CFLAGS) $<