created "tests" subdirectory infrastructure
This commit is contained in:
1 parent
2aefd8d4ec
commit
90d313721f
5 files changed
+39
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
|
||||
all:
|
||||
for d in *; do \
|
||||
if [ -d $$d ]; then \
|
||||
make -C $$d; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
clean:
|
||||
for d in *; do \
|
||||
if [ -d $$d ]; then \
|
||||
make -C $$d clean; \
|
||||
fi; \
|
||||
done
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
TARGET := test
|
||||
I_SOURCE := itest
|
||||
CXXFLAGS := -O2
|
||||
LDFLAGS := -lpcre
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET):
|
||||
imbecile $(I_SOURCE).I
|
||||
$(CXX) -o $@ *.cc $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
-rm -f $(TARGET) *.o $(I_SOURCE).cc $(I_SOURCE).h
|
||||
File renamed without changes.
Reference in new issue
Block a user