Last change
on this file since 717 was
717,
checked in by nkissebe, 18 years ago
|
build binary as "nanoscale" rather than "server". changed install dir to /opt/nanoscale/bin
|
File size:
334 bytes
|
Line | |
---|
1 | CFLAGS = -O2 -g |
---|
2 | LDFLAGS = |
---|
3 | TARGETS = client mycat nanoscale |
---|
4 | INSTALL_DIR = /opt/nanoscale |
---|
5 | |
---|
6 | all: $(TARGETS) |
---|
7 | |
---|
8 | nanoscale: server.o |
---|
9 | cc $(CFLAGS) $(LDFLAGS) server.o -o nanoscale |
---|
10 | |
---|
11 | install: nanoscale |
---|
12 | cp nanoscale $(INSTALL_DIR)/bin |
---|
13 | |
---|
14 | client: client.o clientlib.o |
---|
15 | |
---|
16 | clean: |
---|
17 | rm -rf a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d |
---|
Note: See
TracBrowser
for help on using the repository browser.