TARGET=SmartStation.o
LIB=libSmartStation.a
CXXFLAGS=-std=c++0x -Wall -pedantic -m32

.PHONY=all


all: 
	$(ROOTDIR)$(MAKE) clear
	$(ROOTDIR)$(MAKE) $(LIB)
	copy $(LIB) ..\lib\win7-m32
	

$(LIB): $(TARGET)
	ar crs $@ $<
	
%.o: %.cpp
	g++  -c $(CXXFLAGS) $< 
	
clear:
	del $(TARGET) $(LIB)
	
	

