mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-24 19:18:38 +02:00
32 lines
696 B
Makefile
32 lines
696 B
Makefile
#
|
|
# Makefile - build sch2fig
|
|
#
|
|
# Written 2016 by Werner Almesberger
|
|
# Copyright 2016 by Werner Almesberger
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
|
|
NAME = sch2fig
|
|
OBJS = main.o sch.o lib.o fig.o
|
|
|
|
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter
|
|
|
|
include ../common/Makefile.c-common
|
|
|
|
.PHONY: test
|
|
|
|
all:: $(NAME)
|
|
|
|
$(NAME): $(OBJS)
|
|
$(CC) -o $(NAME) $(OBJS)
|
|
|
|
NEO900_HW = ../../../n9/ee/hw/
|
|
|
|
test: $(NAME)
|
|
$(NAME) $(NEO900_HW)/neo900.lib $(NEO900_HW)neo900_SS_1.sch \
|
|
>out.fig
|