From 23f12f3daf3a3fa6e4aba9bf72657bc1151acafc Mon Sep 17 00:00:00 2001 From: mariusmonton Date: Wed, 6 Feb 2019 19:14:23 +0100 Subject: [PATCH] default all: option --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 96248b5..fe1afef 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ $(BINDIR)/$(TARGET): $(OBJECTS) @$(LINKER) $(OBJECTS) $(LFLAGS) $(LIBS) $(LIBDIR) -o $@ @echo "Linking complete!" + $(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.cpp # @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ @echo "Compiling "$<" ..." @@ -46,3 +47,5 @@ clean: remove: clean @$(rm) $(BINDIR)/$(TARGET) @echo "Executable removed!" + +all: $(BINDIR)/$(TARGET)