* Add SoundTask to makefile (no modifications required).
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 11 Jun 2007 05:56:49 +0000 (07:56 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 11 Jun 2007 05:56:49 +0000 (07:56 +0200)
ABM2/Engine/InputTask.cpp
ABM2/Makefile

index 82d513e6cfdb542d31be0685b21ef0533152ddb0..5fd261d151838afb7fa26a202be31a679e9e0e68 100755 (executable)
@@ -5,11 +5,13 @@
 #include "InputTask.h"\r
 #include "../main.h"\r
 \r
+#ifdef WIN32\r
 // include the DirectX Library files\r
 #pragma comment (lib, "dinput.lib")\r
 #pragma comment (lib, "dinput8.lib")\r
 #pragma comment (lib, "dxguid.lib")\r
 \r
+#endif WIN32\r
 \r
 //////////////////////////////////////////////////////////////////////\r
 // Construction/Destruction\r
@@ -25,6 +27,7 @@ int CInputTask::dY=0;
 unsigned int CInputTask::buttons=0;\r
 unsigned int CInputTask::oldButtons=0;\r
 \r
+#ifdef WIN32\r
 CInputTask::CInputTask()\r
 {\r
        din = NULL;\r
@@ -88,3 +91,4 @@ void CInputTask::Stop()
        memset(keys, 0, 256);\r
        memset(oldKeys, 0, 256);\r
 }\r
+#endif // WIN32\r
index 89718c5f146d6deeb4618c67cb4edf0342d1e1dc..a3e7a9b30a12b9ffdf1fe6f27b1da6e13ba8f99e 100644 (file)
@@ -1,5 +1,5 @@
 CFLAGS:=-I.
-OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o Engine/ProfileLogHandler.o Engine/VideoUpdate.o Engine/GlobalTimer.o
+OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o Engine/ProfileLogHandler.o Engine/VideoUpdate.o Engine/GlobalTimer.o Engine/SoundTask.o
 
 all: $(OBJS)