bore

basic core utilities (PD)
git clone git://bvnf.space/bore.git
Log | Files | Refs | README

Makefile (347B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
.POSIX:

BINS = \
	basename \
	cat \
	echo \
	ed \
	false \
	grep \
	head \
	ls \
	mkdir \
	nice \
	pwd \
	rm \
	rmdir \
	sleep \
	sort \
	tee \
	true \
	tty \
	uname \
	wc \

CC = cc
XCFLAGS = $(CFLAGS) -Wall -Wextra -std=c99 -pedantic -g -Og
XLDFLAGS = $(LDFLAGS)

all: $(BINS)

.c:
	$(CC) $(XCFLAGS) $(XLDFLAGS) -o $@ $<

clean:
	rm -f $(BINS)