comparison libdha/Makefile @ 12692:797e602bf1dd

make the awk script working for localized machines too, patch by Onur Kucuk
author alex
date Sat, 26 Jun 2004 13:48:35 +0000
parents 841fd0c2f2e3
children af5a4cc17170
comparison
equal deleted inserted replaced
12691:0230544f52a1 12692:797e602bf1dd
1 # makefile 1 # makefile
2 2
3 include ../config.mak 3 include ../config.mak
4 4
5 MAJOR_VERSION = 0 5 MAJOR_VERSION = 1
6 MINOR_VERSION = 1 6 MINOR_VERSION = 0
7 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION) 7 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
8 8
9 9
10 ifeq ($(TARGET_OS),CYGWIN) 10 ifeq ($(TARGET_OS),CYGWIN)
11 SHORTNAME = libdha.dll 11 SHORTNAME = libdha.dll
58 endif 58 endif
59 59
60 all: $(LIBNAME) $(SHORTNAME) 60 all: $(LIBNAME) $(SHORTNAME)
61 61
62 pci_names.c: 62 pci_names.c:
63 $(AWK) -f pci_db2c.awk oth/pci.db 63 LC_CTYPE=C $(AWK) -f pci_db2c.awk oth/pci.db
64 64
65 test: 65 test:
66 $(CC) test.c -o test $(SHORTNAME) 66 $(CC) test.c -o test $(SHORTNAME)
67 67
68 clean: 68 clean: