~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/openbios/utils/devbios/Makefile

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# comment this if you don't want debugging information
 
2
CFLAGS += -DDEBUG
 
3
 
 
4
TARGET  =       bios.o
 
5
OBJS    =       bios_core.o flashchips.o pcisets.o \
 
6
                filesystem.o procfs.o programming.o
 
7
 
 
8
obj-m           := $(TARGET)
 
9
bios-objs     := $(OBJS)
 
10
 
 
11
all: module comp
 
12
 
 
13
clean:
 
14
        -rm -f $(TARGET) $(OBJS) comp *.o bios.ko
 
15
        -rm -rf .*.cmd .tmp_versions
 
16
module:
 
17
        make -C /usr/src/linux SUBDIRS=`pwd` modules
 
18
 
 
19
comp:   comp.c
 
20
        $(CC) comp.c -O2 -o comp
 
21
        strip comp
 
22