]>
Commit | Line | Data |
---|---|---|
8e877c19 RR |
1 | # Makes a library in Unix (Motif) |
2 | ||
48b1d0ff RR |
3 | # Clears all default suffixes |
4 | .SUFFIXES: .o .cpp .c .cxx | |
5 | ||
6 | .c.o : | |
7 | $(CCC) -c $(CFLAGS) -o $@ $< | |
8 | ||
9 | .cpp.o : | |
10 | $(CC) -c $(CPPFLAGS) -o $@ $< | |
11 | ||
12 | .cxx.o : | |
13 | $(CC) -c $(CPPFLAGS) -o $@ $< | |
14 | ||
549c6f67 | 15 | include $(top_builddir)/src/make.env |
8e877c19 RR |
16 | |
17 | all: $(LIBTARGET).a | |
18 | ||
19 | $(LIBTARGET).a : $(OBJECTS) | |
20 | ar $(AROPTIONS) $@ $(OBJECTS) | |
21 | $(RANLIB) $@ | |
22 | ||
23 | clean: | |
24 | rm -f $(OBJECTS) $(LIBTARGET).a core |