sh8s_deployer/Makefile
2024-08-01 16:12:53 +02:00

21 lines
380 B
Makefile

ECHO = @echo
GCC = g++
RM = @rm -f
CCFLAGS = -c -g -ansi -pedantic -Wall #optimization?
OBJETS = $(SRC:.cpp=.o)
SRC = $(wildcard *.cpp)
EXE = deployer
LIBRARIES =
$(EXE) : $(OBJETS)
$(ECHO) "-Linking $(EXE)-"
$(GCC) -o $@ $^ $(LIBRARIES)
%.o:%.cpp
$(ECHO) "-Compilation $<- "
$(GCC) $(CCFLAGS) -o $@ $<
.PHONY: clean
clean:
$(ECHO) "-Cleaning-"
$(RM) $(OBJETS) $(EXE)