mirror of
https://github.com/galera951/experiment-automation.git
synced 2024-11-22 13:45:53 +03:00
27 lines
443 B
Makefile
27 lines
443 B
Makefile
CC=g++
|
|
CFLAGS=-c
|
|
EXECUTABLE=start
|
|
|
|
all: $(EXECUTABLE)
|
|
|
|
$(EXECUTABLE): main.o Device.o Generator.o Oscilloscope.o
|
|
$(CC) main.o Device.o Generator.o Oscilloscope.o -o main
|
|
|
|
main.o: main.cpp
|
|
$(CC) $(CFLAGS) main.cpp
|
|
|
|
Device.o: Device.cpp
|
|
$(CC) $(CFLAGS) Device.cpp
|
|
|
|
Generator.o: Generator.cpp
|
|
$(CC) $(CFLAGS) Generator.cpp
|
|
|
|
Oscilloscope.o: Oscilloscope.cpp
|
|
$(CC) $(CFLAGS) Oscilloscope.cpp
|
|
|
|
clean:
|
|
rm -f main
|
|
rm -f *.o
|
|
|
|
.PNONY: all clean
|