projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040326-1-src
[rocksndiamonds.git]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index 976f86bc60b6322e923e014760a404ff605caf0c..f065f0b92cfb9a87ba2326f7db908e702e14b04a 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-58,6
+58,15
@@
PLATFORM = unix
TARGET=sdl
endif
TARGET=sdl
endif
+ifeq ($(PLATFORM),os2)
+RANLIB = echo
+PROGNAME = ../$(PROGBASE).exe
+EXTRA_CFLAGS = -Zbin-files -D__ST_MT_ERRNO__ -Zmtd -fomit-frame-pointer
+EXTRA_LDFLAGS = -lsocket
+PLATFORM = unix
+TARGET=x11
+endif
+
ifeq ($(PLATFORM),unix)
PROFILING_FLAGS = -pg
endif
ifeq ($(PLATFORM),unix)
PROFILING_FLAGS = -pg
endif
@@
-128,8
+137,8
@@
ifdef BUILD_DIST # distribution build
OPTIONS = -O3 -Wall
endif
OPTIONS = -O3 -Wall
endif
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
-LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
+CFLAGS = $(OPTIONS) $(SYS_CFLAGS)
$(EXTRA_CFLAGS)
$(CONFIG)
+LDFLAGS =
$(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
SRCS = main.c \
SRCS = main.c \