blob: ab1148ce117e37974243149ee2ff9b348e5649cd (
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
31
32
|
--- /Makefile 2010-09-09 13:44:07.000000000 +0200
+++ /Makefile.new 2010-09-09 13:47:40.000000000 +0200
@@ -1,14 +1,17 @@
-
+LIBDIR = -L/usr/X11R6/lib
+LIBS = -lXpm -lXext -lX11
+OBJS = main.o init.o event.o draw.o battery.o cpu.o autoscript.o pixmap.o
+EXE = wmlaptop
.c.o:
- $(CC) -c $< -o $*.o $(CFLAGS)
+ $(CC) $(CFLAGS) -c $< -o $*.o
all: $(EXE)
$(EXE): $(OBJS)
./buildCounter
- $(CC) -o $(EXE) $^ $(LIBDIR) $(LIBS)
+ $(CC) $(LDFLAGS) -o $(EXE) $^ $(LIBDIR) $(LIBS)
clean:
@@ -20,7 +23,7 @@
reall: clean all
install:
- /usr/bin/install -c -o 0 -g 0 -s -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
+ /usr/bin/install -c -o 0 -g 0 -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
chmod +s $(INSTALLDIR)/$(EXE)
uninstall:
|