| 1 |
# |
| 2 |
# File to make is the testproj executable |
| 3 |
# |
| 4 |
exe: testproj |
| 5 |
|
| 6 |
saber: |
| 7 |
#load $(SOURCE) \ |
| 8 |
$(OPTS) \ |
| 9 |
$(OBJLIB) \ |
| 10 |
$(TRLIB) -lm \ |
| 11 |
#link |
| 12 |
# |
| 13 |
# Set up build options--the debug switch (debug or optimize), |
| 14 |
# and directories to search for include files |
| 15 |
# |
| 16 |
OPTS = $(CFLAGS) \ |
| 17 |
-I$(SRCGCTP) |
| 18 |
|
| 19 |
# |
| 20 |
# Include files needed for testproj. The source code depends on |
| 21 |
# these files. Therefore, if one of the include files are |
| 22 |
# modified, the module will be recompiled. |
| 23 |
# |
| 24 |
CINCFIL = \ |
| 25 |
$(SRCGCTP)/cproj.h \ |
| 26 |
$(SRCGCTP)/proj.h |
| 27 |
|
| 28 |
OBJLIB = \ |
| 29 |
$(LIBGCTP)/geolib.a |
| 30 |
|
| 31 |
# |
| 32 |
# Object libraries required to load the program |
| 33 |
# |
| 34 |
|
| 35 |
# |
| 36 |
# directives for the release procedure. This identifies |
| 37 |
# which files are to be treated as source files, executable |
| 38 |
# files, and misc. files which are in both the |
| 39 |
# release directory and source directory |
| 40 |
# |
| 41 |
SOURCE = testproj.c Makefile |
| 42 |
EXECS = testproj |
| 43 |
|
| 44 |
# qz |
| 45 |
|
| 46 |
# Make the executable file for program "testproj". |
| 47 |
testproj: testproj.c $(OBJLIB) $(CINCFIL) |
| 48 |
cc $(OPTS) \ |
| 49 |
-o testproj testproj.c \ |
| 50 |
$(OBJLIB) \ |
| 51 |
$(TRLIB) -lm |
| 52 |
# |
| 53 |
# |
| 54 |
# qz |