First commit.

This commit is contained in:
miky
2016-06-17 23:41:22 -04:00
commit 38ce92b298
12 changed files with 339 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
CXX = g++
TARGET = ias_ss
OBJECTS = ias_ss.o robot.o
CFLAGS = -ansi -pedantic -Wall -g `pkg-config --cflags playerc++` -g
LDLIBS = `pkg-config --libs playerc++` -lboost_system -lpthread
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(CXX) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LDLIBS)
-include $(OBJECTS:.o=.d)
%.o: %.cpp
$(CXX) -c $(CFLAGS) $*.cpp -o $*.o
$(CXX) -MM $(CFLAGS) $*.cpp > $*.d
clean:
$(RM) $(TARGET) $(OBJECTS) *.d