aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6cfc87a..846cc13 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
CPPFLAGS=-std=c++11 -Wall
CC=g++
TARGET=jarkko
+SRCDIR=src
all: jarkko
-jarkko: *.cpp
- $(CC) *.cpp $(CPPFLAGS) -o $(TARGET)
+jarkko: $(SRCDIR)/*.cpp
+ $(CC) $(SRCDIR)/*.cpp $(CPPFLAGS) -o $(TARGET)
clean:
rm $(TARGET)