default all: option
This commit is contained in:
parent
c00b1582d9
commit
23f12f3daf
3
Makefile
3
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue