annotate lib/alib/makefile @ 2852:f2e92661b4c6 lwtools-port

Makefiles: Always use macro for lwar and rm The LWAR macro is new, rm was still used in one place.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 22:41:18 +0200
parents 9ffe2daeb011
children 28ed72477814
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2477
c0ac6c80965a Updated
boisy
parents:
diff changeset
1 # Makefile to create assembler library
c0ac6c80965a Updated
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
c0ac6c80965a Updated
boisy
parents:
diff changeset
3
c0ac6c80965a Updated
boisy
parents:
diff changeset
4
2783
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
5 SRC = stimestr.as datestr.as getfmd.as mktemp.as linedit.as sho_regs.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
6 print_dec.as print_hex.as print_asc.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
7 mult16x8.as mult16x16.as div16x8.as div16x16.as div8x8.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
8 dec_bin.as bin_dec.as asc_bin.as bin_asc.as hex_bin.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
9 bin_hex.as bin2hex.as dectab.as bin_rom.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
10 strcat.as strcpy.as strncpy.as parsnstr.as strhcpy.as strhlen.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
11 strcmp.as strncmp.as strlen.as memmove.as ptsearch.as compare.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
12 b09strlen.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
13 to_upprs.as to_upper.as to_lowrs.as to_lower.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
14 is_punct.as is_print.as is_cntrl.as is_space.as is_xdigit.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
15 is_alnum.as is_alpha.as is_digit.as is_lower.as is_upper.as is_termin.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
16 prints.as puts.as fputs.as putcr.as fputcr.as putspace.as fputspace.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
17 putc.as fputc.as inkey.as getc.as fgetc.as gets.as fgets.as puty.as fputy.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
18 gety.as fgety.as ftrans.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
19 frewind.as ftoeof.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
20 jsr_cmd.as jsr_cmd2.as \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
21 to_sp.as to_non_sp.as memset.as rnd.as
2477
c0ac6c80965a Updated
boisy
parents:
diff changeset
22
2783
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
23 MODS = stimestr.o datestr.o getfmd.o mktemp.o linedit.o sho_regs.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
24 print_dec.o print_hex.o print_asc.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
25 mult16x8.o mult16x16.o div16x8.o div16x16.o div8x8.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
26 dec_bin.o bin_dec.o asc_bin.o bin_asc.o hex_bin.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
27 bin_hex.o bin2hex.o dectab.o bin_rom.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
28 strcat.o strcpy.o strncpy.o parsnstr.o strhcpy.o strhlen.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
29 strcmp.o strncmp.o strlen.o memmove.o ptsearch.o compare.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
30 b09strlen.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
31 to_upprs.o to_upper.o to_lowrs.o to_lower.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
32 is_punct.o is_print.o is_cntrl.o is_space.o is_xdigit.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
33 is_alnum.o is_alpha.o is_digit.o is_lower.o is_upper.o is_termin.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
34 prints.o puts.o fputs.o putcr.o fputcr.o putspace.o fputspace.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
35 putc.o fputc.o inkey.o getc.o fgetc.o gets.o fgets.o puty.o fputy.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
36 gety.o fgety.o ftrans.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
37 frewind.o ftoeof.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
38 jsr_cmd.o jsr_cmd2.o \
03f26e88b809 Renamed files and setup for lwasm/lwlink work
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2782
diff changeset
39 to_sp.o to_non_sp.o memset.o rnd.o
2477
c0ac6c80965a Updated
boisy
parents:
diff changeset
40
c0ac6c80965a Updated
boisy
parents:
diff changeset
41
2801
9ffe2daeb011 Reworked libraries to adhere to lwlink's naming specifications
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2783
diff changeset
42 all: ../libalib.a
2477
c0ac6c80965a Updated
boisy
parents:
diff changeset
43
2801
9ffe2daeb011 Reworked libraries to adhere to lwlink's naming specifications
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2783
diff changeset
44 ../libalib.a: $(MODS)
2852
f2e92661b4c6 Makefiles: Always use macro for lwar and rm
Tormod Volden <debian.tormod@gmail.com>
parents: 2801
diff changeset
45 $(LWAR) $@ $?
2477
c0ac6c80965a Updated
boisy
parents:
diff changeset
46
c0ac6c80965a Updated
boisy
parents:
diff changeset
47 dskclean: clean
c0ac6c80965a Updated
boisy
parents:
diff changeset
48
c0ac6c80965a Updated
boisy
parents:
diff changeset
49 clean:
2801
9ffe2daeb011 Reworked libraries to adhere to lwlink's naming specifications
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2783
diff changeset
50 $(RM) *.o ../libalib.a