add pty-gpib-emulator from github
This commit is contained in:
20
pty-gpib-emulator/middle-man/Makefile
Normal file
20
pty-gpib-emulator/middle-man/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
CC=g++
|
||||
CFLAGS=-c -std=c++11
|
||||
LDFLAGS=
|
||||
LIBRARIES=-lutil
|
||||
SOURCES=MiddleMan.cpp simple.cpp
|
||||
OBJECTS=$(SOURCES:.cpp=.o)
|
||||
EXECUTABLE=simple
|
||||
|
||||
all: $(SOURCES) $(OBJECTS) $(EXECUTABLE)
|
||||
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@ $(LIBRARIES)
|
||||
|
||||
.cpp.o:
|
||||
$(CC) $(CFLAGS) $< -o $@ $(LIBRARIES)
|
||||
|
||||
clean:
|
||||
rm *.o *~ *.gch
|
||||
|
Reference in New Issue
Block a user