mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
33 lines
1011 B
Plaintext
33 lines
1011 B
Plaintext
--- Makefile.orig Sun Sep 24 23:50:45 2000
|
|
+++ Makefile Thu Sep 28 11:58:34 2000
|
|
@@ -1,7 +1,7 @@
|
|
VERSION=0.8.21
|
|
|
|
#Langue : francais ou english
|
|
-LANGUE=francais
|
|
+LANGUE=english
|
|
#langue=english
|
|
|
|
#Cible : Linux ou Windows (ou probablement d'autres mais je n'ai que ceux-là).
|
|
@@ -28,14 +28,15 @@
|
|
ifeq ($(LOCAL),1)
|
|
DATADIR = $(HOME)/BomberInstinct
|
|
else
|
|
- DATADIR = /usr/local/share/BomberInstinct
|
|
+ DATADIR = $(PREFIX)/share/BomberInstinct
|
|
endif
|
|
|
|
- BINDIR = /usr/local/bin
|
|
- CC = gcc
|
|
- CFLAGS := $(shell sdl-config --cflags) -Wall -O3\
|
|
+ BINDIR = $(PREFIX)/bin
|
|
+ CC? = gcc
|
|
+ CFLAGS_ := $(shell $(SDL_CONFIG) --cflags) -Wall \
|
|
-D$(CIBLE) -DDIR=\"$(DATADIR)\" -DVERSION=\"$(VERSION)\"
|
|
- LIBS := $(shell sdl-config --libs) -lSDL_mixer -lm #-lSDL_image --static
|
|
+ CFLAGS += $(CFLAGS_)
|
|
+ LIBS := $(shell $(SDL_CONFIG) --libs) -lSDL_mixer -lsmpeg -lgcc_r -lm #-lSDL_image --static
|
|
endif
|
|
OBJS = sprites.o niveaux.o pouvoirs.o evenements.o options.o son.o intro.o SFont/font.o
|
|
ifeq ($(DEBUG),1)
|