summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorrpj <rpj>1999-04-06 17:57:46 +0000
committerrpj <rpj>1999-04-06 17:57:46 +0000
commit7477362ce77eb4c8005b68ff64eb0e2a1d675d3f (patch)
tree0ded6129e5831f4bd94754e6e245094d199372ed /tests/Makefile
parent451bb0670ddd5f5c0606410f2b5f51733119645d (diff)
Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* *.c (comments): Remove individual attributions - these are documented sufficiently elsewhere. * implement.h (pthread.h): Remove extraneous include.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 430eed2..a696bf9 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -26,10 +26,12 @@ LIBS = ./libpthread32.a
#INCLUDES = -I.
#LIBS = pthread.lib
-HDR = pthread.h
+HDR = pthread.h semaphore.h sched.h
LIB = libpthread32.a
DLL = pthread.dll
+COPYFILES = $(HDR) $(LIB) $(DLL)
+
# If a test case returns a non-zero exit code to the shell, make will
# stop.
@@ -66,27 +68,21 @@ condvar4.pass: create1.pass
%.pass: %.exe $(LIB) $(DLL) $(HDR)
$*
- @$(ECHO) Passed
+ @ $(ECHO) Passed
@ $(TOUCH) $@
%.exe: %.c
@ $(CC) $(CFLAGS) $(INCLUDES) $(LIBS)
-$(LIB):
- @ $(ECHO) Copying the library
- @ $(CP) $(BUILD_DIR)\$@ .
-
-$(HDR):
- @ $(ECHO) Copying the header file
- @ $(CP) $(BUILD_DIR)\$@ .
-
-$(DLL):
- @ $(ECHO) Copying the DLL
+$(COPYFILES):
+ @ $(ECHO) Copying $@
@ $(CP) $(BUILD_DIR)\$@ .
clean:
- $(RM) *.dll
- - $(RM) $(LIB)
- - $(RM) $(HDR)
+ - $(RM) pthread.h
+ - $(RM) semaphore.h
+ - $(RM) sched.h
+ - $(RM) *.a
- $(RM) *.exe
- $(RM) *.pass