yeahconsole: pass CFLAGS and LDFLAGS.

This commit is contained in:
Duncaen 2016-05-24 17:06:06 +02:00
parent 2c8a5cd2c0
commit 524be34861
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,16 @@
--- Makefile
+++ Makefile
@@ -14,11 +14,11 @@ OBJECTS := yeahconsole.o
SOURCES := yeahconsole.c
$(TARGET): $(OBJECTS)
- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
+ $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< $(LDFLAGS)
strip $@
$(OBJECTS): $(SOURCES)
- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
+ $(CC) $(FLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
clean:
rm -rf $(TARGET) $(OBJECTS)

View file

@ -1,7 +1,7 @@
# Template file for 'yeahconsole'
pkgname=yeahconsole
version=0.3.4
revision=1
revision=2
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Turns an xterm or rxvt-unicode into a game-like console"