aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-08 17:22:51 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-08 17:22:51 +0200
commite8c81d72c7cc78ed7b293edcd1f21721e300c4c4 (patch)
tree4c9762b99fb0f010c4e08a0ecb59cdc714f4873e
parentlibglouglou: undef local define after use (diff)
downloadglouglou-e8c81d72c7cc78ed7b293edcd1f21721e300c4c4.tar.xz
glouglou-e8c81d72c7cc78ed7b293edcd1f21721e300c4c4.zip
libglouglou: correctly use CLFAGS for examples
-rw-r--r--libglouglou/examples/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglouglou/examples/Makefile b/libglouglou/examples/Makefile
index d09388d..fc4e957 100644
--- a/libglouglou/examples/Makefile
+++ b/libglouglou/examples/Makefile
@@ -7,5 +7,8 @@ TARGETS = $(SOURCES:.c=)
all: $(TARGETS)
+%.o: %.c
+ $(CC) $(CFLAGS) -o $@ $<
+
clean:
rm -f $(TARGETS) $(OBJECTS)