make Makefile better

master
leitner 21 years ago
parent 8f66476e0d
commit c07f633db8

@ -15,14 +15,13 @@ buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a textcode.a
all: t $(LIBS) libowfat.a all: t $(LIBS) libowfat.a
CC=gcc CC=gcc
ifneq ($(DEBUG),)
CFLAGS=-pipe -Wall -g
else
CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer
endif
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
# startrip # startrip
ifneq ($(DEBUG),)
CFLAGS=-pipe -Wall -g
endif
path = $(subst :, ,$(PATH)) path = $(subst :, ,$(PATH))
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet)) diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
ifeq ($(strip $(diet_path)),) ifeq ($(strip $(diet_path)),)

Loading…
Cancel
Save