blob: 3988f3796964daf2736fad657e810a433a46b017 (
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
|
--- Makefile
+++ Makefile
@@ -32,14 +32,12 @@
OBJS = bubblemon.o
BUBBLEMON = bubblemon
-LDFLAGS = -shared -Wl
-
STRIP = strip
-CC = gcc
+CC ?= gcc
INSTALLMAN = -m 644
-
+LIBS = -lX11
# special things for Linux
ifeq ($(OS), Linux)
@@ -91,8 +89,8 @@
all: $(BUBBLEMON)
bubblemon: clean_obj
- $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
- $(LIBS) $(GTK2_LIBS) $(SRCS)
+ $(CC) $(LDFLAGS) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
+ $(SRCS) $(LIBS) $(GTK2_LIBS)
clean_obj:
rm -rf *.o
|