CC=gcc CFLAGS=-c -Wall EXE_STOP=stop EXE_CONT=cont EXES=$(EXE_STOP) $(EXE_CONT) SRC_SUFFIX=.c SRC_STOP=$(EXE_STOP)$(SRC_SUFFIX) SRC_CONT=$(EXE_CONT)$(SRC_SUFFIX) all: $(EXES) $(EXE_STOP): $(SRC_STOP) $(CC) -o $@ $< $(EXE_CONT): $(SRC_CONT) $(CC) -o $@ $< clean: rm -rf $(EXES)