wanpipe/api/legacy/xdlc/Makefile

32 lines
911 B
Makefile
Raw Normal View History

2021-12-29 16:56:27 +00:00
# ============================================================================
# Makefile Make script for building Linux WAN router utilities.
# ----------------------------------------------------------------------------
# Copyright (c) 1995-1998 Sangoma Technologies Inc. All Rights Reserved.
# ============================================================================
####### MACROS ###############################################################
# Build options.
OS_TYPE = __LINUX__
DEBUG = 2
# Project file paths.
# Tools options.
2021-12-29 17:51:11 +00:00
CFLAGS = -Wall -O2 -D$(OS_TYPE) -D_DEBUG_=$(DEBUG) -D_GNUC_ -I../lib
2021-12-29 16:56:27 +00:00
####### RULES ################################################################
all: xdlc_api xdlc_mps
@echo "Ok."
xdlc_api: xdlc_api.c ../lib/lib_api.c
$(CC) $(CFLAGS) -o $@ $^
xdlc_mps: xdlc_mps.c ../lib/lib_api.c
$(CC) $(CFLAGS) -o $@ $^
clean:
rm -f xdlc_api
rm -f xdlc_mps