17 lines
250 B
Makefile
17 lines
250 B
Makefile
|
include ../Makefile.common
|
||
|
|
||
|
BIN := main$(BIN_SUFFIX)
|
||
|
SRC := main.cpp
|
||
|
OBJ := $(SRC:.cpp=.o)
|
||
|
|
||
|
.PHONY: all clean
|
||
|
all: $(BIN)
|
||
|
clean: cleandeps
|
||
|
$(RM) $(BIN)
|
||
|
$(RM) $(OBJ)
|
||
|
|
||
|
$(BIN): $(OBJ)
|
||
|
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||
|
|
||
|
include ../../Makefile.deps
|