-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
47 lines (42 loc) · 1.53 KB
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
###############################################################################
# $Id: Makefile,v 1.10 2008/05/31 00:11:41 tw Exp $
#
# Build and install gds2000tools
#
# Copyright (C) 2008 Thomas Weidenfeller
#
# This file is part of gds2000tools.
#
# gds2000tools is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# gds2000tools is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with gds2000tools. If not, see <http://www.gnu.org/licenses/>.
###############################################################################
###############################################################################
# Directories and Subdirectories
###############################################################################
TOP = .
include $(TOP)/config.mk
GDS_READ_DIR = gds-read-bin
GDSH_DIR = gdsh
SUBDIRS = $(GDS_READ_DIR) $(GDSH_DIR)
.PHONY: $(SUBDIRS)
###############################################################################
# Rules
###############################################################################
default: all
.PHONY: default all
#
# Run subdir commands
#
all install clean::
for d in $(SUBDIRS) ; do \
$(MAKE) --directory=$$d $@ || exit 1; \
done