FreeCalypso > hg > themwi-system-sw
annotate libutil/Makefile @ 2:b1c364729a93
libutil: add NANP number validation function
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 25 Jun 2022 18:58:00 -0800 |
parents | dbc0a8677b69 |
children | d712d518059e |
rev | line source |
---|---|
1
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
2
b1c364729a93
libutil: add NANP number validation function
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
3 OBJS= mncc_utils.o nanp_valid.o sockinit.o |
1
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libutil.a |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${LIB} |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${LIB}: ${OBJS} |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ar rcu $@ ${OBJS} |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ranlib $@ |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: |
dbc0a8677b69
libutil: import from ThemWi1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f *.[oa] errs |