diff --git a/Makefile b/Makefile index 11aff6c4..568fc941 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/struct.h b/struct.h index 82ef940d..69a804ac 100644 --- a/struct.h +++ b/struct.h @@ -27,7 +27,7 @@ #ifndef _STRUCT_H_ #define _STRUCT_H_ -#if defined(__BEOS__) +#if defined(__BEOS__) || defined(__TRU64__) #include #else #include