summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3c3dfd1..ccd5b0a 100644
--- a/Makefile
+++ b/Makefile
@@ -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