default all: option

This commit is contained in:
mariusmonton 2019-02-06 19:14:23 +01:00
parent c00b1582d9
commit 23f12f3daf
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ $(BINDIR)/$(TARGET): $(OBJECTS)
@$(LINKER) $(OBJECTS) $(LFLAGS) $(LIBS) $(LIBDIR) -o $@ @$(LINKER) $(OBJECTS) $(LFLAGS) $(LIBS) $(LIBDIR) -o $@
@echo "Linking complete!" @echo "Linking complete!"
$(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.cpp $(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.cpp
# @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ # @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
@echo "Compiling "$<" ..." @echo "Compiling "$<" ..."
@ -46,3 +47,5 @@ clean:
remove: clean remove: clean
@$(rm) $(BINDIR)/$(TARGET) @$(rm) $(BINDIR)/$(TARGET)
@echo "Executable removed!" @echo "Executable removed!"
all: $(BINDIR)/$(TARGET)