summaryrefslogtreecommitdiff
path: root/util/extensions/legacybios/Rules.make
blob: 8c63e141879f37d4b5f6ca6162e42f89f2b95569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# tag: Makefile rules

VPATH    := $(VPATH):.

.S.o:
	echo -n "  assembling $<... "
	$(CC) -c -nostdlib $(INCLUDES) $(CFLAGS) $< -o $(BUILDDIR)/$@ && \
		echo -e "    \t\tok" || \
		echo -e "    \t\tfailed"

.c.o:
	echo -n "  compiling $<... "
	$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $(BUILDDIR)/$@ && \
		echo -e "   \t\tok" || \
		echo -e "   \t\failed"