~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to macros/Makefile.amk

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHELL = /bin/sh
 
2
SCIDIR=../
 
3
 
 
4
all:: Lib.exe Name.exe
 
5
        @Makesubdirs.bat all ABSOFT
 
6
 
 
7
distclean::
 
8
        @Makesubdirs.bat distclean 
 
9
 
 
10
clean::
 
11
        @Makesubdirs.bat clean 
 
12
 
 
13
include ../Makefile.incl.amk
 
14
 
 
15
CFLAGS = $(CC_OPTIONS) 
 
16
FFLAGS = $(FC_OPTIONS)
 
17
 
 
18
OBJS = Lib.obj Name.obj 
 
19
 
 
20
clean ::
 
21
        @$(RM) $(OBJS)
 
22
 
 
23
distclean::
 
24
        @$(RM) $(OBJS) 
 
25
 
 
26
 
 
27
Lib.exe : Lib.c 
 
28
        @$(CC) $(CFLAGS) $*.c   
 
29
        @$(LINKER) -SUBSYSTEM:console -OUT:"Lib.exe" Lib.obj $(GUILIBS)
 
30
 
 
31
Name.exe: Name.c 
 
32
        @$(CC) $(CFLAGS) $*.c   
 
33
        @$(LINKER) -SUBSYSTEM:console -OUT:"Name.exe" Name.obj $(GUILIBS)
 
34
 
 
35
 
 
36
 
 
37
 
 
38
 
 
39