mirror of
https://github.com/galera951/experiment-automation.git
synced 2024-11-23 14:15:53 +03:00
24 lines
406 B
Makefile
24 lines
406 B
Makefile
CC=g++
|
|
CFLAGS=-c
|
|
EXECUTABLE=start
|
|
|
|
all: $(EXECUTABLE)
|
|
|
|
$(EXECUTABLE): main.o Generator.o Oscilloscope.o
|
|
$(CC) main.o Generator.o Oscilloscope.o -o main
|
|
|
|
main.o: main.cpp
|
|
$(CC) $(CFLAGS) main.cpp
|
|
|
|
Generator.o: Generator.cpp Generator.hpp
|
|
$(CC) $(CFLAGS) Generator.cpp
|
|
|
|
Oscilloscope.o: Oscilloscope.cpp Oscilloscope.hpp
|
|
$(CC) $(CFLAGS) Oscilloscope.cpp
|
|
|
|
clean:
|
|
rm -f main
|
|
rm -f *.o
|
|
|
|
.PNONY: all clean
|