diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -5,12 +5,15 @@ LDFLAGS = OUTNAME = libfemtokit.a TESTFILE = hello.c -# All object files are listed here -OBJS = +# All object files are listed here: +OBJS = $(OBJS_PLATDEP) -# Add platform-dependent object files in separate variables (e.g. OBJS_LINUX) -# and then, when running the make file, make sure to concatenate the appropriate -# variable (e.g. OBJS = $(OBJS) $(OBJS_LINUX) ). +# Add platform dependent object files here: +OBJS_PLATDEP = + +# Add platform-dependent object files in separate variables ("OBJS_NAME", e.g. +# OBJS_LINUX) and then, when running the make file, make sure to assign the +# appropriate variable to OBJS_PLATDEP (e.g. OBJS_PLATDEP = $(OBJS_LINUX) ). all: $(OBJS) ar -rs $(OUTNAME) *.o |