projects
/
howmuchuseit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First git commit
[howmuchuseit.git]
/
makefile
1
#
2
# Project howmuchuseit
3
#
4
5
VER=0.0.3
6
EXE=howmuchuseit howmucheck
7
OBJ=howmuchuseit.o
8
PKGNAME=howmuchuseit
9
TARGET=$(EXE)
10
11
CC?=gcc
12
13
ALL: $(TARGET)
14
15
howmuchuseit: howmuchuseit.c howmuchuseit.h
16
$(CC) -Wall -o $@ $<
17
18
howmucheck: howmucheck.c howmuchuseit.h
19
$(CC) -Wall -o $@ $<
20
21
clean:
22
rm -f $(EXE) $(OBJ) *~ $(TARGET)
23
24
pkg:
25
tar -zcv --transform="s,^,$(PKGNAME)-$(VER)/," -f ../$(PKGNAME)_$(VER).tgz *
26
27
.PHONY: clean pkg ALL