diff options
Diffstat (limited to 'games/craft/files/Makefile')
-rw-r--r-- | games/craft/files/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/craft/files/Makefile b/games/craft/files/Makefile index c62d9898f9e..bd18d7d778c 100644 --- a/games/craft/files/Makefile +++ b/games/craft/files/Makefile @@ -1,15 +1,15 @@ -# $NetBSD: Makefile,v 1.1 1999/08/11 22:20:57 tron Exp $ +# $NetBSD: Makefile,v 1.2 2001/12/19 10:51:19 tron Exp $ # #--------------------------------------------------------------------- # # The following assigns must be changed according to your system # -GCC=gcc -GPP=g++ +GCC= ${CC} +GPP= ${CXX} XLIB=${X11BASE}/lib -CPPFLAGS=-I${X11BASE}/include -DCRAFT_DIR=\"${PREFIX}/share/craft/\" +CPPFLAGS=-I${X11BASE}/include -DCRAFT_DIR=\\\"${PREFIX}/share/craft/\\\" # #-------------------------------------------------------------------- @@ -21,7 +21,6 @@ OBJ= xtimer.o option_menu.o setupedit.o robot.o land.o ship.o building.o \ objects.o xstring.o id_handler.o color_trans.o masks.o buttons.o lru.o scroller.o \ selector.o cmap_selector.o getline.o file_selector.o history.o craft.o -CFLAGS=-O2 -fexpensive-optimizations -finline-functions HCC=hcc/hcc CMP=${HCC} -compiler ${GCC} ${CPPFLAGS} ${CFLAGS} -c @@ -40,6 +39,9 @@ craft: ${OBJ} ${OBJ}: hcc/hcc +hcc/hcc: hcc/hcc.cc + ${GPP} ${CFLAGS} $< -o hcc/hcc + install: craft ${BSD_INSTALL_PROGRAM} craft ${PREFIX}/bin ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/craft |