mirror of
https://github.com/86Box/probing-tools.git
synced 2026-02-22 09:35:34 -07:00
31 lines
626 B
Makefile
31 lines
626 B
Makefile
#
|
|
# 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
# running old operating systems and software designed for IBM
|
|
# PC systems and compatibles from 1981 through fairly recent
|
|
# system designs based on the PCI bus.
|
|
#
|
|
# This file is part of the 86Box Probing Tools distribution.
|
|
#
|
|
# Base makefile for compiling C-based tools with gcc.
|
|
#
|
|
#
|
|
#
|
|
# Authors: RichardG, <richardg867@gmail.com>
|
|
#
|
|
# Copyright 2023 RichardG.
|
|
#
|
|
|
|
VPATH = . ../clib
|
|
|
|
default: $(DEST)
|
|
|
|
%.o: %.c $(HEADERS)
|
|
gcc -I../clib -c $< -o $@
|
|
|
|
$(DEST): $(OBJS)
|
|
gcc $(OBJS) $(CFLAGS) -o $@
|
|
chmod +x $@ || true
|
|
|
|
clean:
|
|
-rm -f $(OBJS) $(DEST)
|