Changeset 10305 for trunk/Ohana/src/opihi/pcontrol/Makefile
- Timestamp:
- Nov 29, 2006, 3:59:20 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/Makefile
r8546 r10305 7 7 SDIR = $(HOME)/pcontrol 8 8 # 9 DESTBIN = $( LBIN)10 DESTLIB = $(L LIB)11 DESTINC = $( LINC)12 DESTMAN = $( LMAN)13 DESTHLP = $( LHLP)/pcontrol9 DESTBIN = $(BINDIR) 10 DESTLIB = $(LIBDIR) 11 DESTINC = $(INCDIR) 12 DESTMAN = $(MANDIR) 13 DESTHLP = $(HELPDIR)/pcontrol 14 14 15 15 # compile flags 16 INCS = -I$(INC) -I$(LINC) -I$(XINC) 17 CFLAGS = $(INCS) -DHELPDIR_DEFAULT=$(DESTHLP) 16 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -DHELPDIR_DEFAULT=$(DESTHLP) 18 17 19 18 # link flags 20 LIBS = -L$(LIB) -L$(LLIB) -L$(XLIB) 21 LIBS1 = -lsocket -lnsl -lreadline $(TLIB) -lkapa -lFITS -lohana -lX11 -lpthread -lm 19 LIBS1 = -lkapa -lFITS -lohana $(LIBFLAGS) 22 20 LIBS2 = -lbasiccmd -lshell -ldata 23 LFLAGS = $(LIBS) $(LIBS2) $(LIBS1)21 LFLAGS = -L$(LIB) -L$(LIBDIR) $(LIBDIRS) $(LIBS2) $(LIBS1) 24 22 25 23 # to build the non-threaded version, remove -lpthread and comment out … … 74 72 $(DESTLIB)/libdata.a 75 73 76 pcontrol: $(BIN)/pcontrol.$(ARCH) 74 pcontrol: $(BIN)/pcontrol.$(ARCH) $(libs) 77 75 78 $(BIN)/pcontrol.$(ARCH) : $(pcontrol) $(libs)76 $(BIN)/pcontrol.$(ARCH) : $(pcontrol) 79 77 80 78 install: $(DESTBIN)/pcontrol help
Note:
See TracChangeset
for help on using the changeset viewer.
