Last change
on this file since 18342 was 271, checked in by dneise, 14 years ago |
added sclkon & sclkoff command to 'fad'
|
File size:
273 bytes
|
Line | |
---|
1 | CC=g++
|
---|
2 | CFLAGS=-c -Wall
|
---|
3 | LDFLAGS=
|
---|
4 | SOURCES=printdata.cpp
|
---|
5 | OBJECTS=$(SOURCES:.cpp=.o)
|
---|
6 | EXECUTABLE=printdata
|
---|
7 |
|
---|
8 | all: $(SOURCES) $(EXECUTABLE)
|
---|
9 |
|
---|
10 | $(EXECUTABLE): $(OBJECTS)
|
---|
11 | $(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
---|
12 |
|
---|
13 | .cpp.o:
|
---|
14 | $(CC) $(CFLAGS) $< -o $@
|
---|
15 |
|
---|
16 | clean:
|
---|
17 | rm -f $(OBJECTS) $(EXECUTABLE)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.