freebsd-ports/graphics/allegrogl/files/makefile.ex
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

60 lines
1 KiB
Elixir

CC= %%CC%%
RM= %%RM%%
CFLAGS= %%CFLAGS%% -I. -I%%LOCALBASE%%/include -I%%PREFIX%%/include
LDFLAGS= -L%%LOCALBASE%%/lib -L%%PREFIX%%/lib -lagl -lGL -lGLU
ALLEGRO_CFLAGS!=allegro-config --cflags
ALLEGRO_LFLAGS!=allegro-config --libs
CFLAGS+= ${ALLEGRO_CFLAGS}
LDFLAGS+= ${ALLEGRO_LFLAGS}
TARGETS= dialog dumbtest exalleg exalpfnt excamera exext exgui exmasked \
extext extextur test tex
all: ${TARGETS}
dialog: dialog.o
${CC} $> -o $@ ${LDFLAGS}
dumbtest: dumbtest.o
${CC} $> -o $@ ${LDFLAGS}
exalleg: exalleg.o
${CC} $> -o $@ ${LDFLAGS}
exalpfnt: exalpfnt.o
${CC} $> -o $@ ${LDFLAGS}
excamera: excamera.o
${CC} $> -o $@ ${LDFLAGS}
exext: exext.o
${CC} $> -o $@ ${LDFLAGS}
exgui: exgui.o
${CC} $> -o $@ ${LDFLAGS}
exmasked: exmasked.o
${CC} $> -o $@ ${LDFLAGS}
exmipmaps: exmipmaps.o
${CC} $> -o $@ ${LDFLAGS}
extext: extext.o
${CC} $> -o $@ ${LDFLAGS}
extextur: extextur.o
${CC} $> -o $@ ${LDFLAGS}
test: test.o
${CC} $> -o $@ ${LDFLAGS}
tex: tex.o
${CC} $> -o $@ ${LDFLAGS}
.c.o:
${CC} -c ${CFLAGS} $*.c
clean:
${RM} -f *.o ${TARGETS}