aboutsummaryrefslogtreecommitdiffstats
path: root/libglouglou/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libglouglou/tests/Makefile')
-rw-r--r--libglouglou/tests/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/libglouglou/tests/Makefile b/libglouglou/tests/Makefile
index a68c095..4318d6c 100644
--- a/libglouglou/tests/Makefile
+++ b/libglouglou/tests/Makefile
@@ -3,17 +3,14 @@ LDFLAGS=-L../ -levent -lglouglou
SOURCES = $(shell echo *.c)
OBJECTS = $(SOURCES:.c=.o)
-TARGET = $(SOURCES:.c=)
+TARGETS = $(SOURCES:.c=)
-all: $(TARGET)
+all: $(TARGETS)
-$(TARGET): $(OBJECTS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
-
-run: $(TARGET)
+run: $(TARGETS)
@count=0 ;\
errors=0 ;\
- for test in $(TARGET); do \
+ for test in $(TARGETS); do \
echo =============================================================================== ;\
echo $$test ;\
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:../ ./$$test ;\
@@ -48,4 +45,4 @@ run_loop:
exit 0
clean:
- rm -f $(TARGET) $(OBJECTS)
+ rm -f $(TARGETS) $(OBJECTS)