blob: a3ffa5ba4b6166e385ac5695509a1bcda0286789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- yeahconsole-0.3.4/Makefile.orig 2006-01-14 16:54:05.000000000 +0100
+++ yeahconsole-0.3.4/Makefile 2009-02-26 16:18:25.000000000 +0100
@@ -1,6 +1,4 @@
TARGET = yeahconsole
-CC = gcc
-#CC = cc
INSTALL = install
PREFIX = /usr/local
@@ -8,17 +6,16 @@
LIBS = -lX11
INCLUDES = -I/usr/X11R6/include
LIB_DIRS = -L/usr/X11R6/lib
-FLAGS = -Os -Wall
+FLAGS = -Wall $(CFLAGS)
OBJECTS := yeahconsole.o
SOURCES := yeahconsole.c
$(TARGET): $(OBJECTS)
- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
- strip $@
+ $(CC) $(FLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
$(OBJECTS): $(SOURCES)
- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
+ $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
clean:
rm -rf $(TARGET) $(OBJECTS)
|