aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)