projects
/
grml-scripts.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Drop broken and deprecated vmware-detect
[grml-scripts.git]
/
compile
/
Makefile
1
PROGS = dpkg_not_running grml-runtty
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
dpkg_not_running: dpkg_not_running.c
18
diet $(CC) $(CFLAGS) -o $@ $^
19
20
grml-runtty: grml-runtty.c
21
diet $(CC) $(CFLAGS) -o $@ $^ -lcompat
22
23
clean:
24
rm -f $(PROGS)