CommonPIC32

examples/vga-dual/Makefile

154:c8a37eb47211
2021-12-14 Paul Boddie Fixed pin labels: RB10/PGEC3 should be RB10/PGED2.
     1 # Makefile - Build the PIC32 deployment payload     2 #     3 # Copyright (C) 2015, 2017, 2018 Paul Boddie <paul@boddie.org.uk>     4 # Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>     5 #     6 # This program is free software: you can redistribute it and/or modify     7 # it under the terms of the GNU General Public License as published by     8 # the Free Software Foundation, either version 3 of the License, or     9 # (at your option) any later version.    10 #    11 # This program is distributed in the hope that it will be useful,    12 # but WITHOUT ANY WARRANTY; without even the implied warranty of    13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    14 # GNU General Public License for more details.    15 #    16 # You should have received a copy of the GNU General Public License    17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.    18     19 include ../../mk/common.mk    20     21 TARGET = vga.elf    22 DUMP = $(TARGET:.elf=.dump)    23 MAP = $(TARGET:.elf=.map)    24     25 HEX = $(TARGET:.elf=.hex)    26 SREC = $(TARGET:.elf=.srec)    27     28 # Ordering of objects is important and cannot be left to replacement rules.    29     30 SRC = $(START_SRC) main.c $(COMMON_SRC) $(DISPLAY_SRC) $(DATADIR)/screendata_160x128.S $(DATADIR)/sprite_48x32.S $(DATADIR)/font.S    31 OBJ = $(START_OBJ) main.o $(COMMON_OBJ) $(DISPLAY_OBJ) $(DATADIR)/screendata_160x128.o $(DATADIR)/sprite_48x32.o $(DATADIR)/font.o    32     33 # Application-specific adjustments.    34 # See: examples/vga/Makefile    35     36 CFLAGS += -DLINE_CHANNELS=2 -I../vga    37     38 include ../../mk/rules.mk