projects
/
grml-scripts-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Split grml-scripts into grml-scripts and grml-scripts-core
[grml-scripts-core.git]
/
compile
/
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)