mirror of
https://github.com/aprochazka/ProfilometerProbe.git
synced 2025-06-30 17:47:20 +02:00
add receiver application for CDC video transfer
This commit is contained in:
17
Receiver/Makefile
Normal file
17
Receiver/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
CC = g++
|
||||
CFLAGS = -pthread -std=c++11 -Wall -Wextra -pedantic
|
||||
LDLIBS = -lSDL2 -lSDL2_image
|
||||
SRCS = $(wildcard *.cpp)
|
||||
|
||||
OBJS = $(SRCS:.cpp=.o)
|
||||
|
||||
all: main
|
||||
|
||||
main: $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) -o main $(LDLIBS)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) main
|
Reference in New Issue
Block a user