aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjantuomi <jans.tuomi@gmail.com>2016-09-01 11:20:59 +0300
committerjantuomi <jans.tuomi@gmail.com>2016-09-01 11:20:59 +0300
commit50bafbdd68160d00606a4e83d9759c21223c11f8 (patch)
tree66c58cfb012dc0b7d222a03e8c55507b75e9af1f /Makefile
parentbe011366f249b8ebed3905030ce3b7021597ee34 (diff)
Restructure project
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)