SMR_TP_reactive/Makefile

16 lines
405 B
Makefile
Raw Normal View History

2019-12-08 16:01:53 +00:00
MASTERNAME = master
SLAVENAME = slave
SRC_DIR = src
BUILD_DIR = build
all : $(BUILD_DIR)/$(MASTERNAME) $(BUILD_DIR)/$(SLAVENAME)
$(BUILD_DIR)/$(MASTERNAME) : $(SRC_DIR)/$(MASTERNAME)
gcc -o $(BUILD_DIR)/$(MASTERNAME) $(SRC_DIR)/$(MASTERNAME).c
$(BUILD_DIR)/$(SLAVENAME) : $(SRC_DIR)/$(SLAVENAME)
gcc -o $(BUILD_DIR)/$(SLAVENAME) $(SRC_DIR)/$(SLAVENAME).c
clean :
rm $(BUILD_DIR)/*