-Some support for TRU64 unix. I don't have SDL on this machine so I'm

not sure how far I can get it...


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1243 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2010-01-12 12:26:27 +00:00
parent 8d01995a80
commit ca6a10216b
2 changed files with 19 additions and 1 deletions

View File

@ -185,6 +185,23 @@ else
OBJDIR = obj/skyos
ZIP = zip
else
ifeq ($(PLATFORM),OSF1) #9
#OSF1 / tru64 alpha
DELCOMMAND = rm -rf
MKDIR = mkdir -p
RMDIR = rmdir
CP = cp
ZIP = zip
PLATFORMFILES = gfx2.png
BIN = grafx2
COPT = -W -Wall -std=c99 -c -g -D__TRU64__ `sdl-config --cflags` $(TTFCOPT) $(LUACOPT)
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT) -lm
CC = gcc
OBJDIR = obj/unix
X11LOPT = -lX11
else
ifeq ($(findstring Kickstart,$(shell version)),Kickstart) # 9
# Classic amiga without gcc. Use vbcc.
@ -256,6 +273,7 @@ else
endif
endif
endif
endif
endif
### BUILD SETTINGS are set according to vars set in the platform selection, the "overridable defaults", and environment variables set before launching make

View File

@ -27,7 +27,7 @@
#ifndef _STRUCT_H_
#define _STRUCT_H_
#if defined(__BEOS__)
#if defined(__BEOS__) || defined(__TRU64__)
#include <inttypes.h>
#else
#include <stdint.h>