Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 512 → Rev 513

/QMK-Groundstation/branches/libMK/testing/Makefile
0,0 → 1,30
CPP = g++
CCFLAGS = -c #-g -ansi
LIBS = /usr/lib/libcppunit.a -L"../libMK"
INCS = -I"./" -I"../" -I"../libMK"
 
%.o : %.cpp
$(CPP) $(CCFLAGS) -c $<
 
LINKOBJ = ../libMK/*.o
OBJ = HandlerTest.o main.o
LIBMK = libMK
LIBMK_DIR = ../libMK/
 
all: $(LIBMK) test
 
test: $(OBJ)
${CPP} -o test $(LINKOBJ) $(OBJ) ${LIBS}
./test
 
$(LIBMK):
$(MAKE) -C $(LIBMK_DIR)
 
main.o: main.cpp
HandlerTest.o: HandlerTest.cpp
#ParserTest.o: ParserTest.cpp
 
clean:
rm -f *.o test; \
$(MAKE) -C $(LIBMK_DIR) clean