Usermode/AxWin4 - Starting work on client-side library
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / Makefile
index 2c7a74e..6f88f14 100644 (file)
@@ -1,10 +1,11 @@
 
 include ../../Makefile.cfg
 
-CPPFLAGS += -Iinclude/
+CPPFLAGS += -Iinclude/ -I../Common/include/
 OBJ := main.o ipc.o CConfig.o video.o input.o timing.o
 OBJ += compositor.o CWindow.o
-OBJ += serialisation.o CClient.o
+OBJ += Common__serialisation.o
+OBJ += CClient.o
 OBJ += CIPCChannel_AcessIPCPipe.o
 OBJ += CRect.o CSurface.o
 BIN := AxWinServer
@@ -12,3 +13,9 @@ BIN := AxWinServer
 LDFLAGS += -lc++
 
 include ../../Makefile.tpl
+
+$(_OBJPREFIX)Common__%.o: ../Common/%.cpp
+       @echo [CXX] -o $@
+       @mkdir -p $(dir $@)
+       $V$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@ -MQ $@ -MP -MD -MF $(@:%.o=%.dep)
+

UCC git Repository :: git.ucc.asn.au