Rev 513 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 513 | Rev 524 | ||
---|---|---|---|
1 | CPP = g++ |
1 | CPP = g++ |
2 | CCFLAGS = -c #-g -ansi |
2 | CCFLAGS = -c #-g -ansi |
3 | LIBS = /usr/lib/libcppunit.a -L"../libMK" |
3 | LIBS = /usr/lib/libcppunit.a -L"../libMK" |
4 | INCS = -I"./" -I"../" -I"../libMK" |
4 | INCS = -I"./" -I"../" -I"../libMK" |
5 | 5 | ||
6 | %.o : %.cpp |
6 | %.o : %.cpp |
7 | $(CPP) $(CCFLAGS) -c $< |
7 | $(CPP) $(CCFLAGS) -c $< |
8 | 8 | ||
9 | LINKOBJ = ../libMK/*.o |
9 | LINKOBJ = ../libMK/*.o |
10 | OBJ = HandlerTest.o main.o |
10 | OBJ = HandlerTest.o main.o |
11 | LIBMK = libMK |
11 | LIBMK = libMK |
12 | LIBMK_DIR = ../libMK/ |
12 | LIBMK_DIR = ../libMK/ |
13 | 13 | ||
14 | all: $(LIBMK) test |
14 | all: $(LIBMK) test |
15 | 15 | ||
16 | test: $(OBJ) |
16 | test: $(OBJ) |
17 | ${CPP} -o test $(LINKOBJ) $(OBJ) ${LIBS} |
17 | ${CPP} -o test $(LINKOBJ) $(OBJ) ${LIBS} |
18 | ./test |
18 | # ./test |
19 | 19 | ||
20 | $(LIBMK): |
20 | $(LIBMK): |
21 | $(MAKE) -C $(LIBMK_DIR) |
21 | $(MAKE) -C $(LIBMK_DIR) |
22 | 22 | ||
23 | main.o: main.cpp |
23 | main.o: main.cpp |
24 | HandlerTest.o: HandlerTest.cpp |
24 | HandlerTest.o: HandlerTest.cpp |
25 | #ParserTest.o: ParserTest.cpp |
25 | #ParserTest.o: ParserTest.cpp |
26 | 26 | ||
27 | clean: |
27 | clean: |
28 | rm -f *.o test; \ |
28 | rm -f *.o test; \ |
29 | $(MAKE) -C $(LIBMK_DIR) clean |
29 | $(MAKE) -C $(LIBMK_DIR) clean |
30 | 30 |