Changeset 1212 for trunk/psLib/test/sysUtils/Makefile
- Timestamp:
- Jul 12, 2004, 3:37:59 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/Makefile
r1109 r1212 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1.1 6$ $Name: not supported by cvs2svn $6 ## $Date: 2004-0 6-26 03:05:12$5 ## $Revision: 1.17 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-07-13 01:37:59 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 PSLIB_INCL_DIR = ../../include 19 20 PSLIB_LIB_DIR = ../../lib 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 21 20 22 21 TARGET = atst_psAbort_01 \ … … 41 40 tst_psTrace04 42 41 43 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET))) 44 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 42 OBJS = $(addsuffix .o,$(TARGET)) 45 43 46 all: builddir $(TARGET) 47 48 builddir: 49 mkdir builddir 50 51 include $(DEPENDENCIES) 44 all: $(TARGET) 52 45 53 46 clean: 54 @echo " Deleting executable and binary files for 'test/ sysUtils'"55 $(RM) $(OBJS) *.lint47 @echo " Deleting executable and binary files for 'test/collections'" 48 $(RM) $(OBJS) 56 49 57 50 distclean: clean 58 51 $(RM) $(TARGET) 59 60 cleandependencies:61 $(RM) $(DEPENDENCIES)62 63 builddir/%.o : %.c64 $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $<65 66 % : builddir/%.o67 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)68 69 %.lint: %.c70 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@71 72 builddir/%.d: %.c73 $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@74 52 75 53 install: $(testbindir) $(testbindir)/verified $(TARGET) … … 83 61 mkdir -p $(testbindir)/verified 84 62 63
Note:
See TracChangeset
for help on using the changeset viewer.
