-
Notifications
You must be signed in to change notification settings - Fork 251
/
makefile
40 lines (36 loc) · 1.17 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
#-------------------------------------------------------------------------------
# Copyright (c) 2014 Martin Marinov.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0
# which accompanies this distribution, and is available at
# http://www.gnu.org/licenses/gpl.html
#
# Contributors:
# Martin Marinov - initial API and implementation
#-------------------------------------------------------------------------------
# This makefile will just do make clean and make all to all of the projects
# Detect library extension depending on OS
ifeq ($(OS),Windows_NT)
OSNAME ?= WINDOWS
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
OSNAME ?= LINUX
endif
endif
# Make all
all :
@$(MAKE) -C TSDRPlugin_RawFile/ all JAVA_HOME=$(JAVA_HOME)
ifeq ($(OSNAME),WINDOWS)
@$(MAKE) -C TSDRPlugin_ExtIO/ all
endif
@$(MAKE) -C TempestSDR/ all
@$(MAKE) -C JavaGUI/ all
# Clean artifacts
clean :
@$(MAKE) -C TSDRPlugin_RawFile/ clean
@$(MAKE) -C TSDRPlugin_Mirics/ clean
@$(MAKE) -C TSDRPlugin_ExtIO/ clean
@$(MAKE) -C TSDRPlugin_SDRPlay/ clean
@$(MAKE) -C TempestSDR/ clean
@$(MAKE) -C JavaGUI/ clean