Browse Source

make Makefile better

master
Felix von Leitner 18 years ago
parent
commit
836ae0d445
  1. 7
      GNUmakefile

7
GNUmakefile

@ -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
CC=gcc
ifneq ($(DEBUG),)
CFLAGS=-pipe -Wall -g
else
CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer
endif
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
# startrip
ifneq ($(DEBUG),)
CFLAGS=-pipe -Wall -g
endif
path = $(subst :, ,$(PATH))
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
ifeq ($(strip $(diet_path)),)

Loading…
Cancel
Save