mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-11 23:53:19 +00:00
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# lib/Makefile
|
|
# Copyright (C) 2013-2015 Mikael Pettersson
|
|
#
|
|
# This file is part of pdp10-tools.
|
|
#
|
|
# pdp10-tools 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 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# pdp10-tools 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 pdp10-tools. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
CC=gcc
|
|
CFLAGS=-O2 -g -Wall
|
|
CPPFLAGS=-I../include
|
|
|
|
LIBOBJS=pdp10-elf36.o pdp10-extint.o pdp10-opcodes.o pdp10-stdio.o
|
|
|
|
all: $(LIBOBJS)
|
|
|
|
pdp10-elf36.o: pdp10-elf36.c ../include/pdp10-elf36.h ../include/pdp10-extint.h ../include/pdp10-stdint.h ../include/pdp10-stdio.h
|
|
pdp10-extint.o: pdp10-extint.c ../include/pdp10-extint.h ../include/pdp10-stdint.h
|
|
pdp10-opcode.o: pdp10-opcode.c ../include/pdp10-opcodes.h
|
|
pdp10-stdio.o: pdp10-stdio.c ../include/pdp10-stdio.h
|
|
|
|
clean:
|
|
rm -f $(LIBOBJS) a.out core.*
|