diff options
author | Mystery Man <unknown@mandriva.org> | 2003-08-20 07:37:27 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-08-20 07:37:27 +0000 |
commit | 7f2ac73888b8ef372ea597049981b27e7d810ac2 (patch) | |
tree | 354132889b63bbe5f446cb82869b3c3367135a80 /mdk-stage1/pcmcia_ | |
parent | 327bd24f8e4291bd1882de1990dd7339f781a9cb (diff) | |
download | drakx-backup-do-not-use-topic/MDKC_1_0.tar drakx-backup-do-not-use-topic/MDKC_1_0.tar.gz drakx-backup-do-not-use-topic/MDKC_1_0.tar.bz2 drakx-backup-do-not-use-topic/MDKC_1_0.tar.xz drakx-backup-do-not-use-topic/MDKC_1_0.zip |
This commit was manufactured by cvs2svn to create branch 'MDKC_1_0'.topic/MDKC_1_0
Diffstat (limited to 'mdk-stage1/pcmcia_')
-rw-r--r-- | mdk-stage1/pcmcia_/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/mdk-stage1/pcmcia_/Makefile b/mdk-stage1/pcmcia_/Makefile index bb3b0257e..b247b1397 100644 --- a/mdk-stage1/pcmcia_/Makefile +++ b/mdk-stage1/pcmcia_/Makefile @@ -18,31 +18,20 @@ top_dir = .. include $(top_dir)/Makefile.common -all: libpcmcia.a libpcmcia-DIET.a +all: libpcmcia.a clean: rm -f *.o libpcmcia.a -FLAGS = -D__linux__ -Wall -Werror -Os -fomit-frame-pointer -pipe -c -I.. +FLAGS = -D__linux__ -Wall -Werror -Os -fomit-frame-pointer -pipe -c -I.. -D_BSD_SOURCE OBJS = probe.o cardmgr.o lex_config.o yacc_config.o -OBJS-DIET = $(subst .o,-DIET.o,$(OBJS)) - libpcmcia.a: $(OBJS) ar -cru $@ $^ ranlib $@ -libpcmcia-DIET.a: $(OBJS-DIET) - ar -cru $@ $^ - ranlib $@ - - $(OBJS): %.o: %.c - gcc $(FLAGS) $(GLIBC_INCLUDES) -c $< -o $@ - -$(OBJS-DIET): %-DIET.o: %.c - gcc $(FLAGS) $(DIETLIBC_INCLUDES) -c $< -o $@ - + $(DIET) gcc $(FLAGS) $(INCLUDES) -c $< -o $@ |