FreeCalypso > hg > themwi-ota-tools
annotate smswrap/Makefile @ 10:2c022e0334c4
convert to new ThemWi configure and build system
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 21 May 2024 01:03:40 +0000 |
| parents | d5e9af482548 |
| children |
| rev | line source |
|---|---|
|
2
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROGS= ota-smswrap-sjs1 |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 LIBS= ../libutil/libutil.a |
|
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
3 |
|
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
4 include ../config.defs |
|
2
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ota-smswrap-sjs1: ota-smswrap-sjs1.o ${LIBS} |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lcrypto |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 install: |
|
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
12 mkdir -p ${DESTDIR}${bindir} |
|
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
13 install -c ${PROGS} ${DESTDIR}${bindir} |
|
2
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 clean: |
|
d5e9af482548
ota-smswrap-sjs1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 rm -f ${PROGS} *.o |
