1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-11-07 16:26:06 -05:00
xlxd/ambedtest/makefile
LX3JL 64b9440068 ambedtest version 1.0.0
Added ambedtest (amped test & performance analysis client)
2017-08-09 20:51:32 +02:00

18 lines
339 B
Makefile

CC=g++
CFLAGS=-c -std=c++11 -pthread
LDFLAGS=-std=c++11 -pthread
SOURCES=$(wildcard *.cpp)
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=ambedtest
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -lftd2xx -Wl,-rpath,/usr/local/lib -o $@
.cpp.o:
$(CC) $(CFLAGS) $< -o $@
clean:
$(RM) *.o