projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update compat
[lttv.git]
/
genevent
/
Makefile
diff --git
a/genevent/Makefile
b/genevent/Makefile
index f52a19a8a9cf4fc28563bb25fba428fa1996b9db..5947dc2a1ec14a34811277221fde56a8a21d25b0 100644
(file)
--- a/
genevent/Makefile
+++ b/
genevent/Makefile
@@
-2,25
+2,26
@@
SHELL = /bin/sh
CC = gcc
CC = gcc
-CFLAGS = -g -o
+#CFLAGS = -std=c99 -Wall -g -DDEBUG
+CFLAGS = -std=c99 -Wall -g
all: genevent
install: genevent
all: genevent
install: genevent
- cp genevent /usr/local/bin
+ cp
-f
genevent /usr/local/bin
-genevent:genevent.o parser.o
- $(CC) $(CFLAGS)
$@ genevent.o parser.o
+genevent:
genevent.o parser.o
+ $(CC) $(CFLAGS)
-o $@ $^
genevent.o: genevent.c genevent.h parser.h
genevent.o: genevent.c genevent.h parser.h
- $(CC)
-g -c genevent.c
+ $(CC)
$(CFLAGS) -c -o $@ $<
parser.o: parser.c parser.h
parser.o: parser.c parser.h
- $(CC)
-g -c parser.c
+ $(CC)
$(CFLAGS) -c -o $@ $<
.PHONY: clean
clean:
.PHONY: clean
clean:
- rm -rf *.o *~ *#
+ rm -rf *.o *~ *#
genevent
This page took
0.022696 seconds
and
4
git commands to generate.