Commit 2823534fef9b3e1a8388adb3f6fa147c2ec2203a

Ozkan Sezer 2022-04-07T20:11:50

minor adjustment to os/2 watcom makefile

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/Makefile.os2 b/Makefile.os2
index 3282156..073ae5b 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -140,9 +140,11 @@ SDL_blendpoint.obj: SDL_blendpoint.c
     wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
 SDL_RLEaccel.obj: SDL_RLEaccel.c
     wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
+!ifeq HIDAPI 1
 # c99 mode needed because of structs with flexible array members in libusb.h
 SDL_hidapi.obj: SDL_hidapi.c
     wcc386 $(CFLAGS_DLL) -za99 -fo=$^@ $<
+!endif
 
 $(LIBICONV_LIB):  "src/core/os2/iconv2.lbc"
     @echo * Creating: $@