source: trunk/packages/vizservers/nanoscale/Makefile.in @ 1029

Last change on this file since 1029 was 1029, checked in by gah, 14 years ago

more Makefile fixups

File size: 1.0 KB
Line 
1TARGETS         = client mycat nanoscale
2
3CC              = @CC@
4CFLAGS          = @CFLAGS@
5EXTRA_CFLAGS    = -Wall
6DEFINES         = @DEFINES@
7CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
8LDFLAGS         = @LDFLAGS@
9
10bindir          = @bindir@
11datadir         = @datadir@
12datarootdir     = @datarootdir@
13exec_prefix     = @exec_prefix@
14includedir      = @includedir@
15libdir          = @libdir@
16mandir          = @mandir@
17prefix          = @prefix@
18srcdir          = @srcdir@
19
20VPATH           = $(srcdir)
21
22INSTALL         = @INSTALL@
23INSTALL_PROGRAM = ${INSTALL} -m 555
24INSTALL_DATA    = ${INSTALL} -m 444
25INSTALL_SCRIPT  = ${INSTALL} -m 444
26
27SERVER_OBJS     = server.o
28CLIENT_OBJS     = client.o clientlib.o
29
30.PHONY: all install clean distclean
31
32all: $(TARGETS)
33
34nanoscale: $(SERVER_OBJS)
35        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
36
37install: nanoscale
38        $(INSTALL_PROGRAM) -D nanoscale $(bindir)/nanoscale
39
40client: $(CLIENT_OBJS)
41
42.c.o:
43        $(CC) $(CC_SWITCHES) -o $@ -c $<
44
45clean:
46        rm -rf a.out $(SERVER_OBJS) *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
47
48distclean: clean
49        rm Makefile
50
Note: See TracBrowser for help on using the repository browser.