Compile all sources into tests
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 20 Nov 2011 17:18:22 +0000 (18:18 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 20 Nov 2011 17:18:22 +0000 (18:18 +0100)
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile

index b7e1c57..51283d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ all:
        gcc -o kmscon src/*.c $(CFLAGS)
 
 tests:
-       gcc -o test_output tests/test_output.c src/output.c $(CFLAGS)
-       gcc -o test_console tests/test_console.c src/output.c src/console.c $(CFLAGS)
+       gcc -o test_output tests/test_output.c src/*.c $(CFLAGS)
+       gcc -o test_console tests/test_console.c src/*.c $(CFLAGS)
 
 clean:
        @rm -vf kmscon test_output test_console