diff --git a/Makefile b/Makefile index 21c447b..321b04a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ test.o : test.C test.h test2.o : test2.C test2.h g++ -c $< -main.o : main.C test.h +main.o : main.C test.h test2.h g++ -c $< test : test.o test2.o main.o diff --git a/main.C b/main.C index 3f6871a..1c6b983 100644 --- a/main.C +++ b/main.C @@ -1,8 +1,13 @@ #include "test.h" +#include "test2.h" int main(void) { testfunc1(); testfunc2(); + + test2func1(); + test2func2(); + return 0; }