From 9ad64e1fd9f77087320433b8b9d01a31304f0a1e Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 1 Jun 2016 16:17:00 -0400 Subject: Make the makefile hopefully a little more readable/maintainable. --- utils/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') 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} -- cgit v1.2.3