Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added test target in Makefile

  • Loading branch information...
commit 2c3c93f4601e001672ce50e89bf65cf27442a32e 1 parent 9ebda87
@thejoshwolfe thejoshwolfe authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Makefile
View
4 Makefile
@@ -34,6 +34,7 @@ CC_FLAGS = -ggdb -Wall -I. -I$(OUTPUT)
CC_COMPILE = $(CC) $(CC_FLAGS) -c -o $@ -MMD -MP -MF $@.d
LINK = g++
LINK_FLAGS =
+TEST = python test.py
# rulz
$(OBJECTS):
@@ -55,6 +56,9 @@ all: $(BINARY)
$(BINARY): $(ALL_OBJECTS)
$(LINK) $(LINK_FLAGS) $(ALL_OBJECTS) -o $(BINARY)
+test: all
+ $(TEST)
+
clean:
rm -rf $(OUTPUT) $(BINARY)
Please sign in to comment.
Something went wrong with that request. Please try again.