mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-08 17:30:14 +00:00
2105f032fc
Scott Moberly. The only change was renaming of the makefiles.
20 lines
362 B
Makefile
20 lines
362 B
Makefile
# Makefile for basename(1) and dirname(1)
|
|
#
|
|
# Use TESTFLAGS to check stack usage.
|
|
|
|
CFLAGS += -w -O -s 768 -c
|
|
LDFLAGS += -O
|
|
TESTFLAGS += -w -G25 -DSTACK_CHECK
|
|
|
|
all : basename dirname
|
|
|
|
basename : basename.o basename.r
|
|
$(CC) $(LDFLAGS) -o $@ $@.o
|
|
$(CATREZ) -d $@ $@.r
|
|
|
|
dirname : dirname.o dirname.r
|
|
$(CC) $(LDFLAGS) -o $@ $@.o
|
|
$(CATREZ) -d $@ $@.r
|
|
|
|
|