aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-01 16:17:00 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-01 16:17:00 -0400
commit9ad64e1fd9f77087320433b8b9d01a31304f0a1e (patch)
tree2ea14ccf71fc73c667dcab0ff00c5f1cbd174143 /utils
parent00f3181d2411068353efd6a5aadb3e70f064db2a (diff)
Make the makefile hopefully a little more readable/maintainable.
Diffstat (limited to 'utils')
-rw-r--r--utils/GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/GNUmakefile b/utils/GNUmakefile
index 0d56dc8..c1d838e 100644
--- a/utils/GNUmakefile
+++ b/utils/GNUmakefile
@@ -1,4 +1,4 @@
-# Copyright (c) 2015, NORDUnet A/S
+# Copyright (c) 2015-2016, NORDUnet A/S
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,7 @@ BIN = eim_peek_poke cores
CFLAGS = -g3 -Wall -fPIC -std=c99 -I..
-all: ${BIN}
+all: $(if $(wildcard ../hal_io_eim.o),eim_peek_poke) $(if $(wildcard ../core.o),cores)
clean:
rm -f *.o ${BIN}