summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5fb97ed..597fe3f 100644
--- a/Makefile
+++ b/Makefile
@@ -23,5 +23,10 @@ all: ${LIBNAME:=.so} ${LIBNAME:=.a}
clean:
rm -f *.o ${LIBNAME}.*
+
+# Targets for testing application
+main.o:
+ ${CC} ${CFLAGS} -c $<
+
test-app: main.o ${OBJ}
${CC} ${LDFLAGS} -o $@ main.o ${OBJ}