yeahconsole: pass CFLAGS and LDFLAGS.
This commit is contained in:
parent
2c8a5cd2c0
commit
524be34861
|
@ -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)
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue