File: Makefile.test

package info (click to toggle)
sdcv 0.3.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,644 kB
  • ctags: 1,207
  • sloc: sh: 9,235; ansic: 7,803; cpp: 2,613; makefile: 485; yacc: 316; sed: 16
file content (14 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SOURCES_CXX= test.cpp distance.cpp libstardict.cpp lib_utils.cpp mapfile.cpp
SOURCES_C = dictziplib.c
CXXFLAGS=-g -Wall -O0 `pkg-config --cflags glib-2.0`
LIBS=`pkg-config --libs glib-2.0` -lz

OBJECTS_CXX=$(SOURCES_CXX:.cpp=.o)
OBJECTS_C=$(SOURCES_C:.c=.o)
OBJECTS=$(OBJECTS_CXX) $(OBJECTS_C)

test: $(OBJECTS) 
	$(CXX) -o $@ $^ $(LIBS)

clean:
	rm -f *.o test