Built a new make system (still kind of hacky), and added some argument
[EconoBoard.git] / src / sandbox / Makefile
blob76e36c79844bd411c67b9189a8ae4aefa15b2a11
1 BINARY=../../bin/sandbox
2 SOURCE=$(wildcard *.c)
3 OBJECTS=$(patsubst %.c, %.o, $(SOURCE))
5 CFLAGS=-I/usr/include/opencv
6 LDFLAGS=-lm -lcv -lhighgui -lcvaux
8 all: $(BINARY)
10 $(BINARY): $(OBJECTS)
11 $(CXX) $(CFLAGS) -o $@ $^ $(LDFLAGS)
13 clean:
14 $(RM) $(OBJECTS) $(BINARY)