Skip to content
Snippets Groups Projects
Commit 22a2857e authored by Fred Wright's avatar Fred Wright Committed by Christopher Nielsen
Browse files

Makefile: Add targets for object files.

This facilitates building object files and libraries with separate
make commands, using different options.  This is just for debugging.

TESTED:
New targets build as expected.
parent 0932489b
Branches
No related tags found
No related merge requests found
......@@ -281,6 +281,14 @@ $(SLIBOBJS): %$(SLIBOBJEXT): %.c $(ALLHEADERS)
$(ADDOBJS): %$(SLIBOBJEXT): %.c $(ALLHEADERS)
$(CC) -c -I$(SRCINCDIR) $(ALLCFLAGS) $(SLIBCFLAGS) $< -o $@
dlibobjs: $(DLIBOBJS) $(MULTIDLIBOBJS)
syslibobjs: $(DLIBOBJS) $(MULTIDLIBOBJS) $(ADDOBJS)
slibobjs: $(SLIBOBJS) $(MULTISLIBOBJS)
allobjs: dlibobjs slibobjs syslibobjs
$(TESTOBJS_C): %.o: %.c $(ALLHEADERS)
$(CC) -c -std=c99 -I$(SRCINCDIR) $(ALLCFLAGS) $< -o $@
......@@ -443,3 +451,4 @@ clean: $(MANRUNPREFIX)clean test_clean
.PHONY: $(MANRUNPREFIX)clean test_clean xtest_clean
.PHONY: install install-headers install-lib install-dlib install-slib
.PHONY: tiger-bins install-tiger
.PHONY: allobjs dlibobjs slibobjs syslibobjs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment