projects
/
grml-scripts-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a1a24a68c9196cc50b706829058ef718b8ba6af0
[grml-scripts-core.git]
/
Makefile
1
PROGS = ip-screen cpu-screen
2
3
#ifndef CFLAGS
4
CFLAGS = -O2 -Wall -s
5
#endif
6
7
#ifndef LDFALGS
8
LDFLAGS = -s
9
#endif
10
11
#ifndef CC
12
CC = gcc
13
#endif
14
15
all: $(PROGS)
16
17
ip-screen: ip-screen.c
18
diet $(CC) $(CFLAGS) -o $@ $^
19
20
cpu-screen: cpu-screen.c
21
diet $(CC) $(CFLAGS) -o $@ $^
22
23
clean:
24
rm -f $(PROGS)