You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
513 B

#
# Makefile fuer Counter-Programm
# File: makefile
# Reto Bonderer, 07.10.2017
#
CC = g++
LINK = g++
CFLAGS = -c -Wall
LFLAGS = -Wall
OBJS = Counter.o CounterCtrl.o counterTest.o
EXE = counterTest
$(EXE): $(OBJS)
$(LINK) $(LFLAGS) -o $(EXE) $(OBJS)
counterTest.o: counterTest.cpp CounterCtrl.h
$(CC) $(CFLAGS) counterTest.cpp
Counter.o: Counter.cpp Counter.h
$(CC) $(CFLAGS) Counter.cpp
CounterCtrl.o: CounterCtrl.cpp CounterCtrl.h Counter.h
$(CC) $(CFLAGS) CounterCtrl.cpp
clean:
rm -f $(EXE) $(OBJS)