projects
/
fides
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to a somewhat usable version.
[fides]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a712e4e
..
a7a4bd6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,13
@@
+all: fides
+
+CFLAGS ?= -Wall -g -O0
+LDFLAGS ?= -Wall -g -O0
+
fides: fides.o
- $(CC) -o $@ $<
+ $(CXX) $(LDFLAGS) -o $@ $< -lbotan
+
+%.o: %.cc %.h
+ $(CXX) $(CFLAGS) -g -c -Wall -o $@ $<
-%.o: %.c
- $(CC) -c -o $@ $<
+clean:
+ rm -f *.o fides