projects
/
mopice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first working version
[mopice.git]
/
makefile
diff --git
a/makefile
b/makefile
index
b78d6a4
..
7c26d4d
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-7,19
+7,19
@@
EXE=mopice showwave greetings
OBJ=mopice.o
PKGNAME=mopice
TARGET=$(EXE)
OBJ=mopice.o
PKGNAME=mopice
TARGET=$(EXE)
-
+CFLAGS=-Wall -g -ggdb
CC?=gcc
ALL: $(TARGET)
mopice: mopice.c mopice.h
CC?=gcc
ALL: $(TARGET)
mopice: mopice.c mopice.h
- $(CC)
-g -ggdb
-lrt -o $@ $<
+ $(CC)
$(CFLAGS)
-lrt -o $@ $<
showwave: showwave.c
showwave: showwave.c
- $(CC)
-g -ggdb
-o $@ $<
+ $(CC)
$(CFLAGS)
-o $@ $<
greetings: greetings.c
greetings: greetings.c
- $(CC)
-g -ggdb
-o $@ $<
+ $(CC)
$(CFLAGS)
-o $@ $<
clean:
rm -f $(EXE) $(OBJ) *~ $(TARGET)
clean:
rm -f $(EXE) $(OBJ) *~ $(TARGET)